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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x64221c
sub esp, 0x8c
mov ecx, dword [esp + 0x90]
mov ebx, dword [ecx + 0x26c]
mov dword [esp + 0x30], ebx
mov ebp, dword [ecx + 0x268]
mov dword [esp + 0x60], ebp
mov esi, dword [ecx + 0x270]
mov dword [esp + 0x34], esi
xor eax, eax
jmp 0x641eed
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00468c2b
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x64]
call fcn.0046910e
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
call fcn.006403a0
movzx ecx, byte [esp + 0x59]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x34]
cmp eax, ebx
jge 0x641f94
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 0x190]
mov edi, dword [edx]
mov dword [esp + 0x3c], edi
lea edi, [esp]
xor eax, eax
call fcn.00468c2b
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
call ecx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
movzx ecx, byte [esp + 0x52]
test cl, cl
jne 0x641f6b
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
movzx ecx, byte [esp + 0x4d]
test cl, 8
sete cl
jmp 0x641f6d
xor ecx, ecx
test cl, cl
je 0x641e77
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.00641070
mov eax, dword [esp + 0x90]
xor ecx, ecx
xor edx, edx
jmp 0x642016
mov dword [ecx + 0x26c], 0
mov dword [ecx + 0x270], 0
mov eax, dword [0x98d4e0]
test eax, eax
je 0x641fc8
mov eax, dword [ecx + 0x268]
call fcn.004689a0
mov dword [edi], eax
mov eax, dword [ecx + 0x25c]
mov dword [edi + 4], eax
mov dword [ecx + 0x268], 0
lea eax, [0x728a58]
mov dword [ecx + 0x25c], eax
mov dword [esp], ecx
call fcn.00643f30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x8c
ret
inc ecx
mov ebx, dword [esp + 0x24]
lea edx, [edi + ebx]
mov dword [esp + 0x24], edx
cmp dword [eax + 0x184], ecx
jle 0x6420d9
cmp ecx, 0x20
jae 0x64220f
lea ebx, [eax + ecx*8]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
cmp edx, 0x80
ja 0x642203
lea ebx, [edx - 0x80]
neg ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
movzx esi, byte [esp + 0x40]
movzx edi, byte [esp + 0x41]
add edi, esi
xchg edi, eax
movzx eax, al
xchg edi, eax
lea ebx, [eax + ebx + 0x1d4]
cmp edi, 0x80
ja 0x6421f7
xchg esi, eax
movzx eax, al
xchg esi, eax
cmp esi, edi
ja 0x6421ee
sub edi, esi
lea edx, [esi - 0x80]
neg edx
neg edx
sar edx, 0x1f
and edx, esi
lea edx, [eax + edx + 0x100]
cmp ebp, edi
jg 0x6420a5
mov edi, ebp
cmp edx, ebx
je 0x64200e
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edi
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
call fcn.00469320
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
jmp 0x64200e
nop
mov dword [eax + 0x184], 0
mov byte [eax + 0x180], 0
cmp edx, 0x80
ja 0x6421e2
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00468c2b
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x88], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x78]
call fcn.0046910e
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
call fcn.006403a0
movzx ecx, byte [esp + 0x59]
mov edx, dword [esp + 0x28]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jb 0x6421dd
mov edx, dword [esp + 0x34]
sub edx, eax
sub ecx, eax
mov ebx, dword [esp + 0x90]
mov dword [ebx + 0x26c], ecx
mov dword [ebx + 0x270], edx
mov ecx, dword [0x98d4e0]
neg edx
sar edx, 0x1f
and edx, eax
mov eax, dword [esp + 0x60]
add eax, edx
test ecx, ecx
je 0x6421ad
call fcn.004689a0
mov dword [edi], eax
mov ecx, dword [ebx + 0x268]
mov dword [edi + 4], ecx
mov dword [ebx + 0x268], eax
lea eax, [ebx + 0x1d4]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], pe_nt_image_headers32
add esp, 0x8c
ret
call fcn.00468a60
mov ecx, edx
mov edx, pe_nt_image_headers32
call fcn.00468a20
mov eax, esi
mov ecx, edi
call fcn.00468a60
mov ecx, edi
mov edx, pe_nt_image_headers32
call fcn.00468a20
mov eax, edx
mov ecx, pe_nt_image_headers32
call fcn.00468a60
mov eax, ecx
mov ecx, 0x20
call fcn.00468a00
nop
call fcn.00467590
jmp fcn.00641e30