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

Disassembly:
sub esp, 0x30
push ebx
mov edx, dword [esp + 0x3c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
and edx, 0xffffff02
mov dword [esp + 0x20], 0
mov dword [esp + 0x48], edx
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x74]
movzx ecx, word [edi + 0x46]
movsx ebp, byte [edi + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x14], ecx
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x18]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebx + 0x38]
mov dword [esp + 0x1c], ecx
test dl, dl
je 0x64259a
cmp byte [ebx + 8], 0
je 0x642589
push ecx
push ebx
call fcn.0060f370
movzx esi, word [ebx + 0x14]
add esp, 8
movzx ecx, ax
add esi, 2
add esi, ecx
mov eax, 0xaaaaaaab
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x24]
add ecx, ecx
mul ecx
shr edx, 1
cmp esi, edx
jg 0x642589
mov dword [esp + 0x20], 1
jmp 0x64259a
push edi
call fcn.0063c510
add esp, 4
test eax, eax
jne 0x64281d
cmp byte [ebx + 8], 0
jne 0x6425db
and byte [edi + 1], 0xf1
xor eax, eax
cmp byte [edi], 1
mov word [edi + 0x2a], ax
jne 0x6425ca
movzx ecx, word [edi + 0x46]
test cx, cx
je 0x6425ca
mov eax, dword [edi + 0x74]
cmp byte [eax + 8], 0
je 0x6425ca
lea eax, [ecx - 1]
mov word [edi + 0x46], ax
jmp 0x6425db
push edi
call fcn.0060ed30
add esp, 4
test eax, eax
jne 0x64281d
test byte [edi + 1], 0x20
je 0x6425f9
push edi
push dword [edi + 0x3c]
push dword [esp + 0x18]
call fcn.0063c4c0
add esp, 0xc
test eax, eax
jne 0x64281d
cmp dword [edi + 0x70], 0
jne 0x642616
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [edi + 0x3c]
push dword [esp + 0x54]
call fcn.0062f250
add esp, 0x14
push dword [ebx + 0x48]
call fcn.0065ddc0
add esp, 4
test eax, eax
jne 0x64281d
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x20]
push ebx
call fcn.006100c0
mov esi, dword [esp + 0x20]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
push eax
movzx eax, word [esp + 0x4a]
push eax
push esi
push ebx
call fcn.00615d50
mov eax, dword [esp + 0x60]
add esp, 0x1c
test eax, eax
jne 0x64281d
cmp byte [ebx + 8], al
jne 0x642742
movsx eax, byte [edi + 0x44]
mov esi, dword [edi + 0x74]
dec eax
cmp ebp, eax
jge 0x64267f
mov eax, dword [edi + ebp*4 + 0x7c]
mov eax, dword [eax + 4]
jmp 0x642682
mov eax, dword [esi + 4]
movzx ecx, word [esi + 0x16]
mov edx, dword [esi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [esi + 0x18]
movzx ecx, cx
and ecx, eax
lea eax, [edx + 4]
add ecx, edx
mov dword [esp + 0x24], ecx
cmp ecx, eax
jae 0x6426c4
push 0x10a31
call fcn.00646520
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov eax, dword [esi + 0x4c]
push ecx
push esi
call eax
push dword [esi + 0x48]
movzx eax, ax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x1c], eax
call fcn.0065ddc0
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
jne 0x64271a
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push dword [esp + 0x18]
add eax, 4
push eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffffc
push eax
push dword [esp + 0x28]
push ebx
call fcn.0062ef60
add esp, 0x1c
lea eax, [esp + 0x44]
push eax
movzx eax, word [esi + 0x16]
push dword [esp + 0x20]
dec eax
push eax
push esi
call fcn.00615d50
mov eax, dword [esp + 0x54]
add esp, 0x10
test eax, eax
jne 0x64281d
mov esi, dword [esp + 0x14]
push edi
call fcn.0060bdd0
mov edx, eax
add esp, 4
test edx, edx
jne 0x64281b
movsx ecx, byte [edi + 0x44]
cmp ecx, ebp
jle 0x6427b6
mov eax, dword [edi + 0x74]
push dword [eax + 0x48]
call fcn.0065dcd0
dec byte [edi + 0x44]
add esp, 4
movsx eax, byte [edi + 0x44]
cmp eax, ebp
jle 0x64279c
mov cl, byte [edi + 0x44]
movsx eax, cl
dec cl
mov eax, dword [edi + eax*4 + 0x78]
mov byte [edi + 0x44], cl
test eax, eax
je 0x642794
push dword [eax + 0x48]
call fcn.0065dcd0
add esp, 4
movsx eax, byte [edi + 0x44]
cmp eax, ebp
jg 0x642776
movsx eax, byte [edi + 0x44]
push edi
mov eax, dword [edi + eax*4 + 0x78]
mov dword [edi + 0x74], eax
call fcn.0060bdd0
mov edx, eax
add esp, 4
test edx, edx
jne 0x64281b
cmp dword [esp + 0x20], 0
je 0x6427f4
mov byte [edi], 2
movzx eax, word [ebx + 0x16]
cmp esi, eax
jl 0x6427e3
mov dword [edi + 0x40], 0xffffffff
mov ax, word [ebx + 0x16]
dec ax
mov word [edi + 0x46], ax
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov dword [edi + 0x40], 1
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push edi
call fcn.00631870
add esp, 4
mov esi, eax
cmp byte [esp + 0x48], 0
je 0x642812
push edi
call fcn.0060eea0
add esp, 4
mov byte [edi], 3
lea edx, [esi - 0x10]
neg edx
sbb edx, edx
and edx, esi
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret