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

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
shr dword [esp + 0x74], 2
push ebx
push ebp
mov ecx, dword [eax + 0x10]
push esi
mov esi, dword [esp + 0x78]
mov edx, esi
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x38], ecx
lea ebx, [esi + 0x40]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0x24]
push edi
lea edi, [esi + 0x20]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x44]
cmovle edx, edi
cmovle edi, esi
mov esi, ebx
mov ebp, edi
mov dword [esp + 0x7c], ebp
cmp dword [edx + 4], eax
mov eax, dword [edi + 4]
cmovle ebx, edx
cmovg esi, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], ebx
cmp eax, dword [ebx + 4]
jle 0x463c9c
mov ebp, ebx
mov dword [esp + 0x7c], ebx
mov ebx, edi
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x30]
mov esi, dword [ebp + 4]
mov dword [esp + 0x64], esi
mov edx, dword [edx + 4]
lea ecx, [esi + 0xffff]
sar ecx, 0x10
mov dword [esp + 0x60], ecx
lea eax, [edx + 0xffff]
sar eax, 0x10
mov dword [esp + 0x24], eax
cmp ecx, eax
je 0x46472b
mov ebx, dword [ebx + 4]
sub edx, esi
lea eax, [ebx + 0xffff]
sar eax, 0x10
mov dword [esp + 0x58], eax
mov eax, edx
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0059bbf0
mov ecx, dword [ebp]
mov edi, eax
mov eax, dword [esp + 0x30]
mov esi, edx
push esi
push edi
mov dword [esp + 0x5c], ecx
mov eax, dword [eax]
sub eax, ecx
cdq
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x7c]
mov ebp, edx
push esi
push edi
mov dword [esp + 0x4c], ebp
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], ecx
mov eax, dword [eax + 0x18]
sub eax, ecx
cdq
push edx
push eax
call fcn.0059bca0
mov eax, dword [esp + 0x7c]
push esi
mov dword [esp + 0x38], edx
push edi
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 0x1c]
sub eax, ecx
cdq
push edx
push eax
call fcn.0059bca0
mov esi, dword [esp + 0x64]
sub ebx, esi
mov dword [esp + 0x38], edx
mov eax, ebx
cdq
mov ecx, eax
mov ebx, edx
push ebx
mov eax, ebp
mov dword [esp + 0x50], ecx
cdq
push ecx
mov edi, edx
mov dword [esp + 0x50], ebx
push edi
push eax
mov dword [esp + 0x8c], eax
call fcn.0059bca0
mov ebp, dword [esp + 0x54]
mov ecx, eax
mov eax, dword [esp + 0x1c]
shrd ecx, edx, 0x10
add ecx, ebp
mov ebx, dword [eax]
mov dword [esp + 0x5c], ecx
cmp ebx, ecx
je 0x46472b
mov eax, dword [esp + 0x60]
shl eax, 0x10
sub eax, esi
cdq
mov ecx, edx
mov dword [esp + 0x64], eax
push ecx
push eax
push edi
push dword [esp + 0x88]
mov dword [esp + 0x60], ecx
call fcn.0059bca0
push dword [esp + 0x50]
shrd eax, edx, 0x10
add eax, ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
cdq
push ebp
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.0059bca0
push dword [esp + 0x50]
shrd eax, edx, 0x10
push ebp
add eax, dword [esp + 0x90]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
cdq
mov ecx, eax
mov eax, edx
push eax
push ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
call fcn.0059bca0
shrd eax, edx, 0x10
add eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, ebx
sub eax, dword [esp + 0x5c]
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0059bbf0
push dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov ebp, edx
push dword [esp + 0x50]
push esi
push edi
call fcn.0059bca0
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x1c]
shrd ecx, esi, 0x10
push ebp
push dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
cdq
mov ebx, eax
sar esi, 0x10
mov eax, dword [esp + 0x90]
sub ebx, ecx
mov edi, edx
cdq
sbb edi, esi
sub ebx, eax
sbb edi, edx
push edi
push ebx
call fcn.0059bca0
push dword [esp + 0x48]
mov dword [esp + 0x24], edx
push dword [esp + 0x50]
push dword [esp + 0x70]
push dword [esp + 0x78]
call fcn.0059bca0
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x1c]
shrd ecx, esi, 0x10
push ebp
push dword [esp + 0x1c]
mov eax, dword [eax + 0x1c]
cdq
mov ebx, eax
sar esi, 0x10
mov eax, dword [esp + 0x34]
sub ebx, ecx
mov edi, edx
cdq
sbb edi, esi
sub ebx, eax
sbb edi, edx
push edi
push ebx
call fcn.0059bca0
mov ecx, dword [esp + 0x60]
mov ebx, edx
imul ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], ebx
lea eax, [eax + ecx*4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x60]
mov dword [esp + 0x2c], eax
je 0x464323
mov eax, dword [esp + 0x1c]
push dword [esp + 0x48]
push dword [esp + 0x50]
mov ebp, dword [eax]
mov eax, ebp
sub eax, dword [esp + 0x5c]
cdq
push 0x10000
push 0
mov edi, eax
mov esi, edx
call fcn.0059bbf0
push edx
push eax
push esi
push edi
call fcn.0059bca0
push dword [esp + 0x50]
mov eax, edx
push dword [esp + 0x68]
mov dword [esp + 0x50], eax
cdq
push edx
push eax
call fcn.0059bca0
mov esi, eax
shrd esi, edx, 0x10
add esi, dword [esp + 0x54]
cmp dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x7c]
jge 0x46413a
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x464327
mov eax, dword [esp + 0x20]
cdq
mov dword [esp + 0x68], eax
mov eax, ebx
mov dword [esp + 0x6c], edx
cdq
mov dword [esp + 0x74], eax
lea eax, [esi + 0xffff]
mov dword [esp + 0x70], edx
lea edx, [ebp + 0xffff]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], edx
mov ebx, edx
dec ecx
and ebx, 0xffff0000
mov dword [esp + 0x2c], ecx
mov eax, ebx
sub eax, ebp
cdq
mov esi, edx
mov edi, eax
push esi
push edi
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.0059bca0
push esi
push edi
push dword [esp + 0x78]
shrd eax, edx, 0x10
push dword [esp + 0x80]
add eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
call fcn.0059bca0
mov ebp, dword [esp + 0x4c]
mov ecx, eax
shrd ecx, edx, 0x10
mov edx, dword [esp + 0x88]
mov eax, ebx
add ecx, dword [esp + 0x14]
sub ebp, ebx
mov ebx, dword [esp + 0x18]
sar eax, 0x10
sar ebp, 0x10
mov dword [esp + 0x64], ecx
lea edi, [edx + eax*4]
mov dword [esp + 0x54], edi
test ebp, ebp
jle 0x4640e4
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
shr ecx, 0x10
dec ebp
imul ecx, edx
shr eax, 0x10
add ecx, eax
cmp ecx, dword [esp + 0x3c]
jae 0x4640bf
mov eax, dword [esp + 0x40]
mov ebx, dword [eax + ecx*4]
mov eax, ebx
shr eax, 0x18
cmp eax, 8
jbe 0x4640bb
mov ecx, ebx
movzx esi, bl
imul esi, eax
and ecx, 0xff0000
imul ecx, eax
mov edx, ebx
mov ebx, dword [edi]
and edx, 0xff00
imul edx, eax
mov edi, 0xff
mov eax, ebx
and eax, 0xff0000
shr esi, 8
shr ecx, 8
add eax, ecx
mov ecx, 0xff
shr eax, 0x10
shr edx, 8
cmp eax, edi
cmovbe edi, eax
mov eax, ebx
and eax, 0xff00
add eax, edx
mov edx, 0xff
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, bl
add eax, esi
cmp eax, ecx
cmovbe ecx, eax
mov eax, dword [esp + 0x54]
or edi, 0xffffff00
shl edi, 8
or edi, edx
mov edx, dword [esp + 0x28]
shl edi, 8
or edi, ecx
mov dword [eax], edi
mov edi, eax
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
add edi, 4
mov ecx, dword [esp + 0x64]
add eax, dword [esp + 0x20]
add ecx, ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], ecx
test ebp, ebp
jg 0x464012
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x48]
add dword [esp + 0x4c], eax
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x60]
lea eax, [ecx*4]
add dword [esp + 0x88], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x10], eax
add ebp, dword [esp + 0x44]
add edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
add dword [esp + 0x14], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x60], edx
test ecx, ecx
jg 0x463f91
jmp 0x464327
jle 0x464327
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x464327
mov eax, dword [esp + 0x20]
cdq
mov dword [esp + 0x70], eax
mov eax, ebx
mov dword [esp + 0x74], edx
cdq
mov dword [esp + 0x68], eax
lea eax, [ebp + 0xffff]
mov dword [esp + 0x4c], eax
lea eax, [esi + 0xffff]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x60], eax
nop dword [eax + eax]
mov ebx, eax
dec ecx
and ebx, 0xffff0000
mov dword [esp + 0x2c], ecx
mov eax, ebx
sub eax, ebp
cdq
mov esi, edx
mov edi, eax
push esi
push edi
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.0059bca0
push esi
push edi
push dword [esp + 0x74]
shrd eax, edx, 0x10
push dword [esp + 0x74]
add eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
call fcn.0059bca0
mov ebp, dword [esp + 0x4c]
mov ecx, eax
shrd ecx, edx, 0x10
mov edx, dword [esp + 0x88]
mov eax, ebx
add ecx, dword [esp + 0x14]
sub ebp, ebx
mov ebx, dword [esp + 0x18]
sar eax, 0x10
sar ebp, 0x10
mov dword [esp + 0x64], ecx
lea edi, [edx + eax*4]
mov dword [esp + 0x54], edi
test ebp, ebp
jle 0x4642d2
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
nop
shr ecx, 0x10
dec ebp
imul ecx, edx
shr eax, 0x10
add ecx, eax
cmp ecx, dword [esp + 0x3c]
jae 0x4642ad
mov eax, dword [esp + 0x40]
mov ebx, dword [eax + ecx*4]
mov eax, ebx
shr eax, 0x18
cmp eax, 8
jbe 0x4642a9
mov ecx, ebx
movzx esi, bl
imul esi, eax
and ecx, 0xff0000
imul ecx, eax
mov edx, ebx
mov ebx, dword [edi]
and edx, 0xff00
imul edx, eax
mov edi, 0xff
mov eax, ebx
and eax, 0xff0000
shr esi, 8
shr ecx, 8
add eax, ecx
mov ecx, 0xff
shr eax, 0x10
shr edx, 8
cmp eax, edi
cmovbe edi, eax
mov eax, ebx
and eax, 0xff00
add eax, edx
mov edx, 0xff
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, bl
add eax, esi
cmp eax, ecx
cmovbe ecx, eax
mov eax, dword [esp + 0x54]
or edi, 0xffffff00
shl edi, 8
or edi, edx
mov edx, dword [esp + 0x28]
shl edi, 8
or edi, ecx
mov dword [eax], edi
mov edi, eax
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
add edi, 4
mov ecx, dword [esp + 0x64]
add eax, dword [esp + 0x20]
add ecx, ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x64], ecx
test ebp, ebp
jg 0x464200
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x44]
add ebp, eax
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
lea ecx, [edx*4]
add dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x34]
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x38]
add dword [esp + 0x14], ecx
add eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x60], eax
test ecx, ecx
jg 0x464180
jmp 0x464327
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x58]
sub dword [esp + 0x24], eax
je 0x46472b
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
sub eax, edi
cdq
push edx
push eax
push 0x10000
push 0
call fcn.0059bbf0
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax]
sub eax, dword [edx]
cdq
push edx
push eax
push ecx
push esi
call fcn.0059bca0
mov eax, dword [esp + 0x58]
mov ecx, edx
shl eax, 0x10
sub eax, edi
mov dword [esp + 0x60], ecx
imul ecx
mov ecx, dword [esp + 0x1c]
mov esi, eax
shrd esi, edx, 0x10
mov eax, dword [ecx]
add esi, eax
cmp dword [esp + 0x5c], eax
jge 0x46456e
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x46472b
mov eax, dword [esp + 0x20]
add esi, 0xffff
cdq
mov dword [esp + 0x70], eax
mov eax, ebx
mov dword [esp + 0x74], edx
cdq
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x54], esi
push dword [esp + 0x74]
lea ebx, [ebp + 0xffff]
dec ecx
push dword [esp + 0x74]
and ebx, 0xffff0000
mov dword [esp + 0x2c], ecx
mov eax, ebx
sub eax, ebp
cdq
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.0059bca0
push esi
push edi
push dword [esp + 0x74]
shrd eax, edx, 0x10
push dword [esp + 0x74]
add eax, dword [esp + 0x20]
mov dword [esp + 0x68], eax
call fcn.0059bca0
mov esi, eax
mov ecx, ebx
mov eax, dword [esp + 0x14]
shrd esi, edx, 0x10
mov edx, dword [esp + 0x88]
sar ecx, 0x10
add esi, eax
mov dword [esp + 0x64], esi
lea edi, [edx + ecx*4]
mov ecx, dword [esp + 0x54]
mov ebp, ecx
mov dword [esp + 0x5c], edi
sub ebp, ebx
sar ebp, 0x10
test ebp, ebp
jle 0x464521
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
mov ecx, esi
shr eax, 0x10
shr ecx, 0x10
dec ebp
imul ecx, edx
add ecx, eax
cmp ecx, dword [esp + 0x3c]
jae 0x4644f6
mov eax, dword [esp + 0x40]
mov ebx, dword [eax + ecx*4]
mov eax, ebx
shr eax, 0x18
cmp eax, 8
jbe 0x4644f6
mov ecx, ebx
movzx esi, bl
imul esi, eax
and ecx, 0xff0000
imul ecx, eax
mov edx, ebx
mov ebx, dword [edi]
and edx, 0xff00
imul edx, eax
mov edi, 0xff
mov eax, ebx
and eax, 0xff0000
shr esi, 8
shr ecx, 8
add eax, ecx
mov ecx, 0xff
shr eax, 0x10
shr edx, 8
cmp eax, edi
cmovbe edi, eax
mov eax, ebx
and eax, 0xff00
add eax, edx
mov edx, 0xff
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, bl
add eax, esi
mov esi, dword [esp + 0x64]
cmp eax, ecx
cmovbe ecx, eax
mov eax, dword [esp + 0x5c]
or edi, 0xffffff00
shl edi, 8
or edi, edx
mov edx, dword [esp + 0x28]
shl edi, 8
or edi, ecx
mov dword [eax], edi
mov edi, eax
mov eax, dword [esp + 0x58]
add edi, 4
add eax, dword [esp + 0x20]
add esi, dword [esp + 0x18]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], esi
test ebp, ebp
jg 0x464447
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
add ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x7c]
add ebp, dword [esp + 0x44]
add eax, dword [esp + 0x38]
mov dword [esp + 0x54], ecx
lea ecx, [edx*4]
add dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x34]
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x14], eax
test ecx, ecx
jg 0x4643c5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
jle 0x46472b
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x46472b
mov eax, dword [esp + 0x20]
cdq
mov dword [esp + 0x70], eax
mov eax, ebx
mov dword [esp + 0x74], edx
cdq
mov dword [esp + 0x68], eax
lea eax, [esi + 0xffff]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x54], eax
push dword [esp + 0x74]
mov ebx, eax
dec ecx
push dword [esp + 0x74]
and ebx, 0xffff0000
mov dword [esp + 0x2c], ecx
mov eax, ebx
sub eax, ebp
cdq
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.0059bca0
push dword [esp + 0x6c]
shrd eax, edx, 0x10
push dword [esp + 0x6c]
add eax, dword [esp + 0x18]
push esi
push edi
mov dword [esp + 0x68], eax
call fcn.0059bca0
shrd eax, edx, 0x10
mov edx, dword [esp + 0x88]
mov ecx, ebx
add eax, dword [esp + 0x14]
sub ebp, ebx
sar ecx, 0x10
add ebp, 0xffff
sar ebp, 0x10
mov dword [esp + 0x64], eax
lea edi, [edx + ecx*4]
mov dword [esp + 0x5c], edi
test ebp, ebp
jle 0x4646e2
mov ecx, dword [esp + 0x58]
dec ebp
shr eax, 0x10
imul eax, dword [esp + 0x28]
shr ecx, 0x10
add eax, ecx
cmp eax, dword [esp + 0x3c]
jae 0x4646bf
mov ecx, dword [esp + 0x40]
mov ebx, dword [ecx + eax*4]
mov eax, ebx
shr eax, 0x18
cmp eax, 8
jbe 0x4646bf
mov ecx, ebx
movzx esi, bl
imul esi, eax
and ecx, 0xff0000
imul ecx, eax
mov edx, ebx
mov ebx, dword [edi]
and edx, 0xff00
imul edx, eax
mov edi, 0xff
mov eax, ebx
and eax, 0xff0000
shr esi, 8
shr ecx, 8
add eax, ecx
mov ecx, 0xff
shr eax, 0x10
shr edx, 8
cmp eax, edi
cmovbe edi, eax
mov eax, ebx
and eax, 0xff00
add eax, edx
mov edx, 0xff
shr eax, 8
cmp eax, edx
cmovbe edx, eax
movzx eax, bl
add eax, esi
cmp eax, ecx
cmovbe ecx, eax
mov eax, dword [esp + 0x5c]
or edi, 0xffffff00
shl edi, 8
or edi, edx
shl edi, 8
or edi, ecx
mov dword [eax], edi
mov edi, eax
mov eax, dword [esp + 0x20]
add edi, 4
add dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x18]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], eax
test ebp, ebp
jg 0x464614
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x7c]
mov eax, dword [esp + 0x54]
add ebp, dword [esp + 0x44]
add eax, dword [esp + 0x60]
lea ecx, [edx*4]
add dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x34]
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x38]
add dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x54], eax
test ecx, ecx
jg 0x4645a2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret