Function at 0x4ddb90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x84], ecx
mov eax, dword [edi + 4]
mov ebp, dword [edx]
mov esi, dword [edx + 4]
mov ebx, dword [edx + 8]
mov ecx, eax
sub ecx, ebp
mov ebp, eax
sub ebp, esi
mov esi, eax
sub esi, ebx
add ecx, 0x10
add esi, 0x10
mov dword [esp + 0x70], ecx
mov dword [esp + 0x88], esi
mov esi, dword [edx + 0xc]
mov edx, dword [edi]
sub eax, esi
add eax, 0x20
cmp ebp, ecx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0xa4], ebp
jl 0x4ddc02
mov dword [esp + 0xa4], ecx
cmp eax, ecx
lea esi, [edx + 0x20]
jle 0x4ddc0b
mov ecx, eax
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 8]
cmp edx, eax
jge 0x4de7b9
mov edi, dword [esp + 0xbc]
mov ebx, dword [edi]
cmp ebx, esi
jge 0x4de7b9
mov esi, edi
mov edi, dword [esp + 0xa4]
mov esi, dword [esi + 0xc]
cmp edi, esi
jge 0x4de7b9
mov edi, dword [esp + 0xbc]
mov edi, dword [edi + 4]
cmp edi, ecx
jge 0x4de7b9
cmp ecx, esi
mov dword [esp + 0x64], ecx
jl 0x4ddc60
mov dword [esp + 0x64], esi
lea ecx, [edx + 0x20]
cmp ecx, eax
jge 0x4ddc69
mov eax, ecx
mov ecx, dword [esp + 0xa4]
cmp ecx, edi
mov dword [esp + 0x80], ecx
jg 0x4ddc82
mov dword [esp + 0x80], edi
cmp edx, ebx
jle 0x4ddc88
mov ebx, edx
sub eax, edx
mov ecx, ebx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc4]
sub ecx, edx
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub eax, esi
mov dword [esp + 0x40], ecx
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0xc4]
mov edi, eax
mov eax, dword [edx + 0xc]
sub eax, esi
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
sar edi, 5
mov dword [esp + 0x8c], eax
imul eax, ecx
mov edx, edi
add eax, esi
imul edx, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb8]
add edx, esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x44], edx
mov dl, byte [eax]
mov eax, dword [esp + 0x78]
sub bl, dl
and bl, 1
cmp ecx, eax
mov byte [esp + 0x34], bl
jge 0x4de7b9
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
sub eax, esi
mov edx, esi
mov dword [esp + 0x90], eax
imul eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x84]
sub edx, ebp
lea eax, [eax + ecx*4]
mov dword [esp + 0x60], eax
mov eax, 0x1f
sub eax, ecx
mov ecx, edx
mov dword [esp + 0x4c], eax
neg ecx
imul eax, edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x58]
cdq
and edx, 0x1f
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x50]
cdq
and edx, 0x1f
sar edi, 5
add eax, edx
mov edx, dword [esp + 0x70]
add edi, ebp
mov ebp, eax
sar ebp, 5
add ebp, edx
mov eax, ebp
mov dword [esp + 0x3c], ebp
sub eax, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x64]
cmp edi, eax
jge 0x4de73e
cmp ebp, dword [esp + 0x80]
jle 0x4de73e
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4de73e
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], 0
cdq
sub eax, edx
mov edx, dword [esp + 0x84]
sar eax, 1
shl eax, 1
mov ecx, eax
mov eax, 0x1f
sub eax, ecx
mov ecx, dword [edx + 0x104]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
xor eax, eax
add ecx, edx
mov edx, dword [esp + 0xc8]
mov bl, byte [edx + 4]
cmp bl, 4
mov ebx, dword [esp + 0x40]
sete al
shl eax, 6
add eax, ebx
mov ebx, dword [edx + 8]
mov eax, dword [eax*4 + 0x74c658]
add eax, ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
sub eax, ebx
mov dword [esp + 0x2c], ebx
cdq
idiv dword [esp + 0x24]
xor ebx, ebx
mov bl, byte [ecx]
inc ecx
mov dword [esp + 0x1c], ecx
mov cl, 1
mov byte [esp + 0x13], cl
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x80]
cmp edi, eax
jle 0x4dde45
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
jmp 0x4dded1
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x20], eax
sub eax, edi
mov edx, eax
mov edi, dword [esp + 0x44]
imul edx, dword [esp + 0x48]
add edx, edi
mov edi, eax
imul edi, dword [esp + 0x54]
mov eax, edi
mov dword [esp + 0x2c], edx
cdq
idiv ebp
lea edx, [eax + 1]
imul edx, ebp
sub edx, edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, eax
sar edx, 1
add edi, edx
test al, 1
mov dword [esp + 0x18], edi
je 0x4dde99
mov dword [esp + 0x30], 4
mov edi, dword [esp + 0x1c]
cmp ebx, eax
jg 0x4ddeb5
test cl, cl
jne 0x4ddea7
add edi, ebx
sub eax, ebx
xor ebx, ebx
mov bl, byte [edi]
inc edi
test cl, cl
sete cl
jmp 0x4dde9d
test cl, cl
mov byte [esp + 0x13], cl
mov dword [esp + 0x1c], edi
jne 0x4ddec7
add edi, eax
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
sub ebx, eax
mov edx, dword [esp + 0xb8]
mov al, byte [esp + 0x20]
mov cl, byte [edx + 4]
mov edx, dword [edx]
sub al, cl
and al, 1
mov byte [esp + 0x28], al
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x40]
add edx, eax
mov eax, ecx
imul eax, dword [esp + 0x20]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0xb4]
add eax, dword [edx + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
cmp ebp, eax
jl 0x4ddf1b
mov ebp, eax
mov eax, dword [esp + 0x20]
sub ebp, eax
mov al, byte [esp + 0x13]
mov dword [esp + 0x20], ebp
test al, al
je 0x4ddfd4
mov edx, dword [esp + 0x18]
mov eax, ebx
sar eax, 1
add edx, eax
test bl, 1
mov dword [esp + 0x18], edx
je 0x4ddf59
mov eax, dword [esp + 0x30]
mov edx, 4
sub edx, eax
mov dword [esp + 0x30], edx
jne 0x4ddf59
inc dword [esp + 0x18]
imul ebx, edi
mov eax, dword [esp + 0x14]
add eax, ebx
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x4de713
mov edi, dword [esp + 0x24]
sub eax, edi
mov edi, dword [esp + 0x54]
lea eax, [eax + edi - 1]
cdq
idiv edi
test eax, eax
jle 0x4de713
mov edx, eax
mov ebx, dword [esp + 0x14]
imul edx, edi
sub ebx, edx
mov edx, ecx
imul edx, eax
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x2c]
add edi, edx
mov edx, eax
imul edx, dword [esp + 0x48]
mov dword [esp + 0x14], ebx
mov bl, byte [esp + 0x28]
add ebp, edx
mov dl, al
add dl, bl
mov dword [esp + 0x38], edi
and dl, 1
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x28], dl
mov edx, dword [esp + 0x20]
sub edx, eax
mov dword [esp + 0x20], edx
jmp 0x4de713
test ebx, ebx
mov dword [esp + 0x3c], ebx
jle 0x4de713
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4de6ce
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
and eax, 0xff
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 0x100]
mov dword [esp + 0x74], ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x98]
xor ecx, ecx
mov edi, ebx
mov cl, byte [edx]
sar edi, 0xb
mov ax, word [eax + ecx*2]
mov ecx, ebx
sar ecx, 9
and ecx, 3
dec ecx
je 0x4de062
dec ecx
je 0x4de051
dec ecx
jne 0x4de07a
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
and ecx, 0xff
and edx, 0xff
or ecx, edx
add edi, ecx
jmp 0x4de07a
mov cl, byte [esp + 0x28]
mov edx, dword [esp + 0x34]
add ecx, edx
and ecx, 1
add edi, ecx
jmp 0x4de07a
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
and edx, 0xff
and ecx, 0xff
and edx, ecx
add edi, edx
cmp edi, 0x10
jg case.default.0x4de083
jmp dword [edi*4 + 0x4df374]
xor edx, edx
jmp 0x4de5f4
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
and ecx, edi
mov di, ax
sub edx, ecx
mov ecx, dword [0x8348f8]
sar ecx, 2
shr di, 2
and ecx, edi
sub edx, ecx
mov ecx, dword [0x8348f4]
sar ecx, 1
shr ax, 1
and ecx, eax
sub edx, ecx
jmp 0x4de5f4
mov ecx, dword [0x834910]
mov dx, ax
sar ecx, 3
shr dx, 3
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x8348f8]
mov di, ax
sar ecx, 2
shr di, 2
and ecx, edi
sub edx, ecx
mov ecx, dword [0x8348f4]
sar ecx, 1
shr ax, 1
and ecx, eax
sub edx, ecx
jmp 0x4de5f4
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
jmp 0x4de0f3
mov ecx, dword [0x8348f8]
mov dx, ax
sar ecx, 2
shr dx, 2
and ecx, edx
mov edx, eax
jmp 0x4de10b
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
jmp 0x4de109
mov ecx, dword [0x834910]
mov dx, ax
sar ecx, 3
shr dx, 3
and ecx, edx
mov edx, eax
jmp 0x4de10b
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
jmp 0x4de10b
mov edx, dword [0x8348f4]
mov cx, ax
sar edx, 1
shr cx, 1
and edx, ecx
sub eax, edx
mov edx, eax
jmp 0x4de5f4
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
and ecx, edi
jmp 0x4de209
mov ecx, dword [0x834910]
mov dx, ax
sar ecx, 3
shr dx, 3
jmp 0x4de205
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x8348f8]
sar ecx, 2
shr ax, 2
and ecx, eax
sub edx, ecx
jmp 0x4de5f4
mov edx, dword [0x8348f8]
mov cx, ax
sar edx, 2
shr cx, 2
and edx, ecx
sub eax, edx
mov edx, eax
jmp 0x4de5f4
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x834910]
sar ecx, 3
shr ax, 3
and ecx, eax
sub edx, ecx
jmp 0x4de5f4
mov edx, dword [0x834910]
mov cx, ax
sar edx, 3
shr cx, 3
and edx, ecx
sub eax, edx
mov edx, eax
jmp 0x4de5f4
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
sub eax, edx
mov edx, eax
jmp 0x4de5f4
add edi, 0xffffffef
cmp edi, 0xf
ja case.default.0x4de2aa
jmp dword [edi*4 + 0x4df3b8]
mov esi, dword [0x8348ec]
mov edx, eax
sar esi, 4
and edx, 0xffff
and esi, 0xffff
shr edx, 4
and esi, edx
jmp case.default.0x4de2aa
mov esi, dword [0x834910]
mov ecx, eax
sar esi, 3
and ecx, 0xffff
and esi, 0xffff
shr ecx, 3
and esi, ecx
jmp case.default.0x4de2aa
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
and edx, 0xffff
shr ecx, 3
and edx, ecx
add esi, edx
jmp case.default.0x4de2aa
mov esi, dword [0x8348f8]
mov ecx, eax
sar esi, 2
and ecx, 0xffff
and esi, 0xffff
shr ecx, 2
and esi, ecx
jmp case.default.0x4de2aa
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr ecx, 2
and edx, ecx
add esi, edx
jmp case.default.0x4de2aa
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr ecx, 2
and edx, ecx
add esi, edx
jmp case.default.0x4de2aa
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
and edx, edi
add esi, edx
jmp 0x4de36b
mov esi, dword [0x8348f4]
mov ecx, eax
sar esi, 1
and ecx, 0xffff
and esi, 0xffff
shr ecx, 1
and esi, ecx
jmp case.default.0x4de2aa
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
jmp 0x4de507
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
jmp 0x4de507
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
jmp 0x4de503
mov esi, dword [0x8348f8]
mov ecx, eax
and ecx, 0xffff
sar esi, 2
mov edx, ecx
and esi, 0xffff
shr edx, 2
and esi, edx
jmp 0x4de507
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
jmp 0x4de4ed
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
mov edi, ecx
and edx, 0xffff
shr edi, 2
and edx, edi
add esi, edx
mov edx, dword [0x8348f4]
sar edx, 1
and edx, 0xffff
shr ecx, 1
and edx, ecx
add esi, edx
jmp case.default.0x4de2aa
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
and edx, edi
mov edi, ecx
add esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr edi, 2
and edx, edi
add esi, edx
mov edx, dword [0x8348f4]
sar edx, 1
and edx, 0xffff
shr ecx, 1
and edx, ecx
add esi, edx
jmp case.default.0x4de2aa
mov esi, eax
and esi, 0xffff
mov edi, dword [0x839f3c]
mov edx, dword [0x839f40]
mov ecx, esi
and eax, 0xffff
and ecx, edi
and edi, eax
and edx, eax
mov eax, dword [0x839f28]
add ecx, edi
test ecx, eax
je 0x4de5f2
test dword [0x839f34], ecx
je 0x4de5c4
mov edi, dword [0x839f38]
mov eax, dword [0x8348e4]
and ecx, edi
or ecx, eax
test dword [0x839f4c], ecx
je 0x4de5db
mov edi, dword [0x839f44]
mov eax, dword [0x8348fc]
and ecx, edi
or ecx, eax
test dword [0x839f2c], ecx
je 0x4de5f2
mov edi, dword [0x839f30]
mov eax, dword [0x8348f0]
and ecx, edi
or ecx, eax
or edx, ecx
mov ecx, dword [esp + 0x18]
xor eax, eax
and edx, 0xffff
mov al, byte [ecx]
mov cl, byte [esp + 0x9c]
mov edi, eax
xor eax, eax
shr edi, cl
mov ax, word [ebp]
and edi, 0xf
test edi, edi
je 0x4de672
mov ecx, edi
mov ebx, dword [0x8348d0]
sar ecx, 3
and ecx, 1
mov ebp, eax
add edi, ecx
mov ecx, eax
mov eax, dword [0x8348fc]
and ecx, ebx
and ebp, eax
mov eax, edx
and eax, dword [0x8348fc]
and edx, ebx
sub edx, ecx
mov ebx, dword [0x8348dc]
sub eax, ebp
imul edx, edi
imul eax, edi
shl ebp, 4
shl ecx, 4
add eax, ebp
mov ebp, dword [0x834928]
add edx, ecx
and eax, ebp
mov ebp, dword [esp + 0x38]
and edx, ebx
mov ebx, dword [esp + 0x74]
add eax, edx
sar eax, 4
mov word [ebp], ax
mov eax, dword [esp + 0x20]
dec eax
test eax, eax
mov dword [esp + 0x20], eax
jle 0x4de73e
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
add ebx, eax
mov ecx, dword [edx + 0xc]
add edi, eax
mov al, byte [esp + 0x28]
add ebp, ecx
test al, al
sete al
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x54]
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x14]
sub eax, edi
mov dword [esp + 0x38], ebp
test eax, eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x14], eax
jg 0x4de00e
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4de73e
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
inc edx
mov dword [esp + 0x1c], edx
mov edx, 4
sub edx, eax
mov dword [esp + 0x30], edx
jne 0x4de6f4
inc dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
add ebx, eax
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x14], ebx
test eax, eax
mov dword [esp + 0x3c], eax
jg 0x4ddfe0
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4de73e
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov edi, dword [esp + 0x24]
mov bl, byte [eax]
inc eax
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x13]
test al, al
sete al
mov byte [esp + 0x13], al
jmp 0x4ddf29
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x50]
add edi, edx
mov dl, byte [esp + 0x34]
add ebx, ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x4c]
test dl, dl
mov edx, dword [esp + 0x6c]
sete al
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x40]
add ebx, edx
mov edx, dword [esp + 0x60]
add ebp, ecx
mov ecx, dword [esp + 0x78]
inc eax
dec edi
add edx, 4
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x7c]
cmp eax, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x60], edx
jl 0x4ddd4c
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x88]
cmp ebp, ecx
mov dword [esp + 0xa4], ebp
mov edx, dword [eax]
lea esi, [edx + 0x20]
jl 0x4de7de
mov dword [esp + 0xa4], ecx
mov edi, dword [esp + 0x68]
lea ebp, [edx + 0x40]
cmp edi, ecx
jg 0x4de7eb
mov edi, ecx
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 8]
cmp esi, eax
jge 0x4df366
mov ebx, dword [ecx]
cmp ebx, ebp
jge 0x4df366
mov esi, dword [ecx + 0xc]
cmp dword [esp + 0xa4], esi
jge 0x4df366
mov ecx, dword [ecx + 4]
cmp ecx, edi
jge 0x4df366
cmp edi, esi
mov dword [esp + 0x60], edi
jl 0x4de82e
mov dword [esp + 0x60], esi
cmp ebp, eax
jge 0x4de834
mov eax, ebp
mov esi, dword [esp + 0xa4]
cmp esi, ecx
mov dword [esp + 0x78], esi
jg 0x4de847
mov dword [esp + 0x78], ecx
lea ecx, [edx + 0x20]
cmp ecx, ebx
jle 0x4de850
mov ebx, ecx
mov ebp, dword [esp + 0xc4]
sub eax, edx
sub eax, 0x20
mov ecx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 4]
mov dword [esp + 0x54], eax
mov eax, esi
sub eax, edi
sub ecx, edx
cdq
mov ebp, dword [ebp + 0xc]
and edx, 0x1f
add eax, edx
sub ecx, 0x20
sar eax, 5
mov dword [esp + 0x70], eax
mov eax, esi
sub eax, ebp
mov dword [esp + 0x38], ecx
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0x70]
sar eax, 5
imul edx, ecx
mov dword [esp + 0x90], eax
imul eax, ecx
add edx, edi
add eax, ebp
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x5c], eax
mov al, byte [edx]
sub bl, al
mov eax, dword [esp + 0x54]
and bl, 1
cmp ecx, eax
mov byte [esp + 0x34], bl
jge 0x4df366
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x7c]
mov edx, ebp
mov eax, dword [esp + 0x68]
sub edx, ebx
sub eax, ebp
mov dword [esp + 0x8c], edx
imul edx, ecx
mov dword [esp + 0x64], edx
mov edx, eax
neg edx
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x5c]
lea edx, [edx + ecx*4 + 0x80]
mov dword [esp + 0x48], edx
mov edx, 0x1f
sub edx, ecx
mov ecx, dword [esp + 0x50]
imul edx, eax
mov dword [esp + 0x44], edx
jmp 0x4de930
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x64]
cdq
and edx, 0x1f
add eax, edx
mov edi, eax
mov eax, dword [esp + 0x7c]
sar edi, 5
add edi, eax
mov eax, dword [esp + 0x44]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, ebp
mov dword [esp + 0x74], eax
sub eax, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
cmp edi, eax
jge 0x4df2f8
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
cmp eax, ebp
jle 0x4df2f8
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4df2f8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0
cdq
sub eax, edx
mov dword [esp + 0x20], ecx
sar eax, 1
shl eax, 1
mov edx, eax
mov eax, 0x1f
sub eax, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x84]
mov byte [esp + 0x13], 1
mov eax, dword [eax + 0x104]
add eax, dword [edx]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x18], eax
xor eax, eax
cmp byte [edx + 4], 4
sete al
shl eax, 6
add eax, dword [esp + 0x38]
mov eax, dword [eax*4 + 0x74c6d8]
add eax, dword [edx + 8]
mov dword [esp + 0x1c], eax
mov eax, ebx
sub eax, ecx
xor ebx, ebx
cdq
idiv dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
mov bl, byte [eax]
inc eax
cmp edi, ebp
mov dword [esp + 0x18], eax
jle 0x4dea1a
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], ecx
jmp 0x4dea9d
mov eax, ebp
mov dword [esp + 0x3c], ebp
sub eax, edi
mov edx, eax
mov edi, eax
imul edx, dword [esp + 0x4c]
imul edi, dword [esp + 0x40]
add edx, ecx
mov ecx, dword [esp + 0x24]
mov eax, edi
mov dword [esp + 0x20], edx
cdq
idiv ecx
lea edx, [eax + 1]
imul edx, ecx
sub edx, edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov edx, eax
sar edx, 1
add edi, edx
test al, 1
mov dword [esp + 0x1c], edi
je 0x4dea65
mov dword [esp + 0x30], 4
mov edi, dword [esp + 0x18]
cmp ebx, eax
jg 0x4dea89
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x4dea77
add edi, ebx
sub eax, ebx
xor ebx, ebx
mov bl, byte [edi]
inc edi
test cl, cl
sete cl
mov byte [esp + 0x13], cl
jmp 0x4dea69
mov cl, byte [esp + 0x13]
mov dword [esp + 0x18], edi
test cl, cl
jne 0x4dea9b
add edi, eax
mov dword [esp + 0x18], edi
sub ebx, eax
mov edi, dword [esp + 0xb8]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov cl, al
mov dl, byte [edi + 4]
mov edi, dword [edi]
sub cl, dl
mov edx, dword [esp + 0xb4]
and cl, 1
add edi, ebp
mov byte [esp + 0x28], cl
mov ecx, dword [edx + 0xc]
mov ebp, ecx
imul ebp, eax
lea ebp, [ebp + edi*2 + 0x40]
mov edi, dword [edx + 0x10]
mov edx, dword [esp + 0x74]
add ebp, edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x68], ebp
cmp edx, edi
jl 0x4deae8
mov edx, edi
sub edx, eax
mov al, byte [esp + 0x13]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
test al, al
je 0x4deb9f
mov edi, dword [esp + 0x1c]
mov eax, ebx
sar eax, 1
add edi, eax
test bl, 1
mov dword [esp + 0x1c], edi
je 0x4deb26
mov edi, dword [esp + 0x30]
mov eax, 4
sub eax, edi
mov dword [esp + 0x30], eax
jne 0x4deb26
inc dword [esp + 0x1c]
imul ebx, edx
mov eax, dword [esp + 0x14]
add eax, ebx
cmp eax, edx
mov dword [esp + 0x14], eax
jle 0x4df2d1
mov edi, dword [esp + 0x24]
mov edx, eax
sub edx, edi
mov edi, dword [esp + 0x40]
lea eax, [edx + edi - 1]
cdq
idiv edi
test eax, eax
jle 0x4df2d1
mov edx, eax
mov bl, byte [esp + 0x28]
imul edx, edi
mov edi, dword [esp + 0x14]
sub edi, edx
mov edx, ecx
imul edx, eax
add ebp, edx
mov edx, eax
imul edx, dword [esp + 0x4c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x20]
add edi, edx
mov dl, al
add dl, bl
mov dword [esp + 0x68], ebp
and dl, 1
mov dword [esp + 0x20], edi
mov byte [esp + 0x28], dl
mov edx, dword [esp + 0x2c]
sub edx, eax
mov dword [esp + 0x2c], edx
jmp 0x4df2d1
test ebx, ebx
mov dword [esp + 0x3c], ebx
jle 0x4df2d1
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4df28c
mov eax, dword [esp + 0x30]
and eax, 0xff
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x20]
add eax, 0x100
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x58]
xor ecx, ecx
mov cl, byte [edx]
mov ax, word [eax + ecx*2]
mov ecx, edi
sar ecx, 9
and ecx, 3
sar edi, 0xb
dec ecx
je 0x4dec27
dec ecx
je 0x4dec16
dec ecx
jne 0x4dec3f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
and ecx, 0xff
and edx, 0xff
or ecx, edx
add edi, ecx
jmp 0x4dec3f
mov cl, byte [esp + 0x28]
mov edx, dword [esp + 0x34]
add ecx, edx
and ecx, 1
add edi, ecx
jmp 0x4dec3f
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
and edx, 0xff
and ecx, 0xff
and edx, ecx
add edi, edx
mov ebx, dword [0x8348fc]
cmp edi, 0x10
jg case.default.0x4dec4e
jmp dword [edi*4 + 0x4df3f8]
xor edx, edx
jmp 0x4df1ba
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
and ecx, edi
mov di, ax
sub edx, ecx
mov ecx, dword [0x8348f8]
sar ecx, 2
shr di, 2
and ecx, edi
sub edx, ecx
mov ecx, dword [0x8348f4]
sar ecx, 1
shr ax, 1
and ecx, eax
sub edx, ecx
jmp 0x4df1ba
mov ecx, dword [0x834910]
mov dx, ax
sar ecx, 3
shr dx, 3
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x8348f8]
mov di, ax
sar ecx, 2
shr di, 2
and ecx, edi
sub edx, ecx
mov ecx, dword [0x8348f4]
sar ecx, 1
shr ax, 1
and ecx, eax
sub edx, ecx
jmp 0x4df1ba
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
jmp 0x4decbe
mov ecx, dword [0x8348f8]
mov dx, ax
sar ecx, 2
shr dx, 2
and ecx, edx
mov edx, eax
jmp 0x4decd6
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
jmp 0x4decd4
mov ecx, dword [0x834910]
mov dx, ax
sar ecx, 3
shr dx, 3
and ecx, edx
mov edx, eax
jmp 0x4decd6
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
jmp 0x4decd6
mov edx, dword [0x8348f4]
mov cx, ax
sar edx, 1
shr cx, 1
and edx, ecx
sub eax, edx
mov edx, eax
jmp 0x4df1ba
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x834910]
mov di, ax
sar ecx, 3
shr di, 3
and ecx, edi
jmp 0x4dedd4
mov ecx, dword [0x834910]
mov dx, ax
sar ecx, 3
shr dx, 3
jmp 0x4dedd0
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x8348f8]
sar ecx, 2
shr ax, 2
and ecx, eax
sub edx, ecx
jmp 0x4df1ba
mov edx, dword [0x8348f8]
mov cx, ax
sar edx, 2
shr cx, 2
and edx, ecx
sub eax, edx
mov edx, eax
jmp 0x4df1ba
mov ecx, dword [0x8348ec]
mov dx, ax
sar ecx, 4
shr dx, 4
and ecx, edx
mov edx, eax
sub edx, ecx
mov ecx, dword [0x834910]
sar ecx, 3
shr ax, 3
and ecx, eax
sub edx, ecx
jmp 0x4df1ba
mov edx, dword [0x834910]
mov cx, ax
sar edx, 3
shr cx, 3
and edx, ecx
sub eax, edx
mov edx, eax
jmp 0x4df1ba
mov edx, dword [0x8348ec]
mov cx, ax
sar edx, 4
shr cx, 4
and edx, ecx
sub eax, edx
mov edx, eax
jmp 0x4df1ba
add edi, 0xffffffef
cmp edi, 0xf
ja case.default.0x4dee75
jmp dword [edi*4 + 0x4df43c]
mov esi, dword [0x8348ec]
mov edx, eax
sar esi, 4
and edx, 0xffff
and esi, 0xffff
shr edx, 4
and esi, edx
jmp case.default.0x4dee75
mov esi, dword [0x834910]
mov ecx, eax
sar esi, 3
and ecx, 0xffff
and esi, 0xffff
shr ecx, 3
and esi, ecx
jmp case.default.0x4dee75
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
and edx, 0xffff
shr ecx, 3
and edx, ecx
add esi, edx
jmp case.default.0x4dee75
mov esi, dword [0x8348f8]
mov ecx, eax
sar esi, 2
and ecx, 0xffff
and esi, 0xffff
shr ecx, 2
and esi, ecx
jmp case.default.0x4dee75
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr ecx, 2
and edx, ecx
add esi, edx
jmp case.default.0x4dee75
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr ecx, 2
and edx, ecx
add esi, edx
jmp case.default.0x4dee75
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
and edx, edi
add esi, edx
jmp 0x4def36
mov esi, dword [0x8348f4]
mov ecx, eax
sar esi, 1
and ecx, 0xffff
and esi, 0xffff
shr ecx, 1
and esi, ecx
jmp case.default.0x4dee75
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
jmp 0x4df0d2
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
jmp 0x4df0d2
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
jmp 0x4df0ce
mov esi, dword [0x8348f8]
mov ecx, eax
and ecx, 0xffff
sar esi, 2
mov edx, ecx
and esi, 0xffff
shr edx, 2
and esi, edx
jmp 0x4df0d2
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
jmp 0x4df0b8
mov esi, dword [0x834910]
mov ecx, eax
and ecx, 0xffff
sar esi, 3
mov edx, ecx
and esi, 0xffff
shr edx, 3
and esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
mov edi, ecx
and edx, 0xffff
shr edi, 2
and edx, edi
add esi, edx
mov edx, dword [0x8348f4]
sar edx, 1
and edx, 0xffff
shr ecx, 1
and edx, ecx
add esi, edx
jmp case.default.0x4dee75
mov esi, dword [0x8348ec]
mov ecx, eax
and ecx, 0xffff
sar esi, 4
mov edx, ecx
and esi, 0xffff
shr edx, 4
and esi, edx
mov edx, dword [0x834910]
sar edx, 3
mov edi, ecx
and edx, 0xffff
shr edi, 3
and edx, edi
mov edi, ecx
add esi, edx
mov edx, dword [0x8348f8]
sar edx, 2
and edx, 0xffff
shr edi, 2
and edx, edi
add esi, edx
mov edx, dword [0x8348f4]
sar edx, 1
and edx, 0xffff
shr ecx, 1
and edx, ecx
add esi, edx
jmp case.default.0x4dee75
mov esi, eax
and esi, 0xffff
mov ecx, dword [0x839f40]
mov edi, dword [0x839f3c]
and eax, 0xffff
mov edx, eax
and eax, edi
and edx, ecx
mov ecx, esi
and ecx, edi
add ecx, eax
mov eax, dword [0x839f28]
test ecx, eax
je 0x4df1b8
test dword [0x839f34], ecx
je 0x4df191
mov edi, dword [0x839f38]
mov eax, dword [0x8348e4]
and ecx, edi
or ecx, eax
test dword [0x839f4c], ecx
je 0x4df1a1
and ecx, dword [0x839f44]
or ecx, ebx
test dword [0x839f2c], ecx
je 0x4df1b8
mov edi, dword [0x839f30]
mov eax, dword [0x8348f0]
and ecx, edi
or ecx, eax
or edx, ecx
mov ecx, dword [esp + 0x1c]
xor eax, eax
and edx, 0xffff
mov al, byte [ecx]
mov cl, byte [esp + 0x6c]
mov edi, eax
xor eax, eax
shr edi, cl
mov ax, word [ebp]
and edi, 0xf
test edi, edi
je 0x4df22c
mov ebp, dword [0x8348d0]
mov ecx, edi
sar ecx, 3
and ecx, 1
add edi, ecx
mov ecx, eax
and ecx, ebp
mov ebp, eax
mov eax, edx
and ebp, ebx
and eax, dword [0x8348d0]
and edx, ebx
sub edx, ebp
mov ebx, dword [0x834928]
sub eax, ecx
imul edx, edi
imul eax, edi
shl ecx, 4
shl ebp, 4
add eax, ecx
mov ecx, dword [0x8348dc]
add edx, ebp
mov ebp, dword [esp + 0x68]
and eax, ecx
and edx, ebx
add eax, edx
sar eax, 4
mov word [ebp], ax
mov eax, dword [esp + 0x2c]
dec eax
test eax, eax
mov dword [esp + 0x2c], eax
jle 0x4df2f8
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
mov bl, byte [esp + 0x28]
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x58]
add ebp, ecx
add edi, eax
add edx, eax
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x68], ebp
test bl, bl
sete al
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x14]
sub eax, edi
mov dword [esp + 0x58], edx
test eax, eax
mov dword [esp + 0x14], eax
jg 0x4debd1
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4df2f8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
inc edx
mov dword [esp + 0x18], edx
mov edx, 4
sub edx, eax
mov dword [esp + 0x30], edx
jne 0x4df2b2
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
add ebx, eax
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x14], ebx
test eax, eax
mov dword [esp + 0x3c], eax
jg 0x4debab
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4df2f8
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov bl, byte [eax]
inc eax
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x13]
test al, al
sete al
mov byte [esp + 0x13], al
jmp 0x4deaf2
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x90]
mov al, byte [esp + 0x34]
add ecx, edi
add ebx, edx
mov ebp, dword [esp + 0x64]
test al, al
sete dl
mov byte [esp + 0x34], dl
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
add edx, 4
inc eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x8c]
add ebp, edx
mov edx, dword [esp + 0x94]
add edi, edx
mov edx, dword [esp + 0x54]
cmp eax, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x44], edi
jl 0x4de929
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 0x18