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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xb4]
cmp eax, dword [ecx + 8]
jbe 0x638fe0
sub esp, 0x134
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x138]
mov ecx, dword [eax]
mov dword [esp + 0xe8], ecx
test byte [ecx], al
mov edx, dword [eax + 0xbc]
mov dword [esp + 0x3c], edx
cmp edx, 0xffffffff
setne bl
mov byte [esp + 0x37], bl
mov ebp, dword [eax + 0xc0]
mov dword [esp + 0x40], ebp
cmp ebp, 0xffffffff
xchg esi, ebx
setne bl
xchg esi, ebx
xchg esi, eax
mov byte [esp + 0x36], al
xchg esi, eax
mov edi, dword [eax + 0xb4]
mov dword [esp + 0x58], edi
mov edi, dword [eax + 0xb8]
mov dword [esp + 0xf0], edi
mov edi, dword [esp + 0x13c]
mov edi, dword [edi + 0x58]
mov dword [esp + 0x104], edi
lea edx, [ecx + 0x34]
mov dword [esp + 0x100], edx
mov dword [esp], edx
call fcn.0046b610
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 0xa4]
mov dword [esp + 0x64], ecx
cmp ecx, 0x80000
seta dl
mov byte [esp + 0x35], dl
sar ecx, 0x1f
mov dword [esp + 0x4c], ecx
test ecx, ecx
xchg ebp, ebx
setg bl
xchg ebp, ebx
xchg ebp, eax
mov byte [esp + 0x34], al
xchg ebp, eax
xchg esi, ebx
sete bl
xchg esi, ebx
xchg esi, eax
mov byte [esp + 0x33], al
xchg esi, eax
mov edi, dword [esp + 0x100]
mov dword [esp], edi
call fcn.0046b990
movzx eax, byte [esp + 0x36]
movzx ecx, byte [esp + 0x37]
or eax, ecx
movzx ecx, byte [esp + 0x35]
movzx edx, byte [esp + 0x33]
and ecx, edx
movzx edx, byte [esp + 0x34]
or edx, ecx
test dl, dl
je 0x63867f
xor ecx, ecx
mov edx, 0x80000
jmp 0x638687
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x64]
mov byte [esp + 0x32], al
mov ebx, dword [esp + 0x138]
mov ebp, dword [ebx + 0xc0]
cmp ebp, 0xffffffff
xchg esi, ebx
setne bl
xchg esi, ebx
mov edi, dword [ebx + 0xbc]
cmp edi, 0xffffffff
setne bl
or ebx, esi
test bl, bl
je 0x6386e5
add edi, 1
adc ebp, 0
cmp ecx, ebp
sete bl
xchg esi, ebx
setg bl
xchg esi, ebx
cmp edi, edx
setb al
and eax, ebx
or esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x6386e0
movzx eax, byte [esp + 0x32]
mov ecx, ebp
mov edx, edi
jmp 0x6386e5
movzx eax, byte [esp + 0x32]
cmp edx, 1
setb bl
test ecx, ecx
sete cl
xchg ebp, ebx
setl bl
xchg ebp, ebx
and ebx, ecx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x638706
mov edx, 1
mov dword [esp + 0x38], edx
lea eax, [0x67f520]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [esp + 0x108], eax
mov dword [eax], 0
lea ecx, [0x8b2f20]
mov dword [esp], ecx
call fcn.0046bd30
mov eax, dword [esp + 8]
lea ecx, [0x677e80]
cmp dword [esp + 4], ecx
je 0x63874c
mov eax, 0
jne 0x63881e
mov edx, dword [esp + 0x38]
cmp dword [eax + 4], edx
jl 0x638822
mov dword [esp + 0xec], eax
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
lea edx, [0x639080]
mov dword [esp + 0x124], edx
lea edx, [0x8b2f20]
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], ecx
mov dword [esp + 0x130], eax
lea ecx, [esp + 0x124]
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0xb8]
mov dword [esp], ecx
call fcn.00435150
test eax, eax
jne 0x638812
mov ecx, dword [esp + 0xec]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov edi, dword [esp + 0x108]
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov ecx, dword [0x8d9190]
test ecx, ecx
jne 0x638808
mov dword [edi], eax
jmp 0x6388e2
call fcn.004643a0
jmp 0x6388e2
call fcn.00435720
add esp, 0x134
ret
mov edx, dword [esp + 0x38]
lea eax, [0x6873e0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044aea0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x108]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov ecx, dword [0x8d9190]
test ecx, ecx
jne 0x63885b
mov dword [edi], eax
jmp 0x638860
call fcn.004643a0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
lea eax, [0x639030]
mov dword [esp + 0x114], eax
lea eax, [0x8b2f20]
mov dword [esp + 0x118], eax
lea eax, [0x677e80]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], edi
lea eax, [esp + 0x114]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.00435150
test eax, eax
jne 0x638900
mov edi, dword [esp + 0x108]
mov eax, dword [esp + 0x104]
test eax, eax
setne al
mov byte [esp + 0x31], al
xor ecx, ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
xor ebp, ebp
jmp 0x63892a
call fcn.00435720
add esp, 0x134
ret
movzx eax, byte [esp + 0x31]
mov edi, dword [esp + 0x108]
movzx ecx, byte [esp + 0x30]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
movzx ebp, byte [esp + 0x2f]
test cl, cl
jne 0x638b66
mov byte [esp + 0x30], cl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edx
xchg ebp, eax
mov byte [esp + 0x2f], al
xchg ebp, eax
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx + 0x14]
mov esi, dword [esp + 0xf0]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call ebp
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movzx ebx, byte [esp + 0x32]
test bl, bl
je 0x638a0e
mov ebp, ecx
sar ecx, 0x1f
mov esi, dword [esp + 0x3c]
sub esi, ebp
mov edi, dword [esp + 0x40]
sbb edi, ecx
test edi, edi
mov ecx, ebx
sete bl
test esi, esi
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebx, ebp
test bl, bl
je 0x638a05
test eax, eax
jne 0x638a05
lea eax, [0x6828c0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xf0]
mov dword [esp], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call ecx
mov eax, dword [esp + 0x10]
mov ecx, eax
sar eax, 0x1f
xor esi, esi
sub esi, ecx
mov edi, 0
sbb edi, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movzx ecx, byte [esp + 0x32]
test edi, edi
jge 0x638a18
jmp 0x638af5
mov ecx, ebx
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edi
test eax, eax
jne 0x638a2e
movzx ebx, byte [esp + 0x30]
jmp 0x638ac6
mov dword [esp + 0xe4], edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.0046b610
mov eax, dword [esp + 0x138]
mov ecx, dword [eax + 0xc4]
mov dword [esp + 0xfc], ecx
mov edx, dword [esp + 0x100]
mov dword [esp], edx
call fcn.0046b990
mov eax, dword [esp + 0xfc]
test eax, eax
jne 0x638b40
mov eax, dword [0x8b26ac]
mov ecx, dword [esp + 0x54]
cmp dword [0x8b26a8], ecx
jne 0x638b1f
mov dword [esp], ecx
mov edx, dword [esp + 0xe4]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004038b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x638b1b
movzx ecx, byte [esp + 0x32]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
xor eax, eax
xor edx, edx
mov ebx, 1
mov byte [esp + 0x30], bl
mov ebp, dword [esp + 0x108]
mov ebx, dword [ebp + 8]
mov ebp, dword [ebp]
mov esi, dword [esp + 0x50]
cmp ebx, esi
jae 0x638e38
jmp 0x638fd6
test eax, eax
je 0x63890c
jmp 0x638fae
mov eax, dword [0x8b2998]
mov ecx, dword [0x8b299c]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
call fcn.00435720
add esp, 0x134
ret
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x140], ecx
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x144], eax
call fcn.00435720
add esp, 0x134
ret
mov eax, dword [0x8b29b8]
mov ecx, dword [0x8b29bc]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
call fcn.00435720
add esp, 0x134
ret
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x638dc1
mov eax, dword [esp + 0x100]
mov dword [esp], eax
call fcn.0046b610
mov eax, dword [esp + 0x13c]
mov eax, dword [eax + 0x58]
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0x138]
mov edx, dword [ecx + 0x78]
mov ebx, dword [ecx + 0x7c]
mov dword [esp + 0x140], edx
mov dword [esp + 0x144], ebx
mov edx, dword [esp + 0x100]
mov dword [esp], edx
call fcn.0046b990
mov eax, dword [esp + 0x140]
test eax, eax
jne 0x638db5
mov eax, dword [esp + 0xe8]
lea ecx, [eax + 0xc0]
mov dword [esp + 0x100], ecx
mov dword [esp], ecx
call fcn.0046b610
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
lea eax, [0x638ff0]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x110], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.00435150
test eax, eax
jne 0x638da9
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x638c44
mov ecx, dword [eax]
jmp 0x638c46
xor ecx, ecx
test ecx, ecx
jg 0x638c52
xor ebp, ebp
xor esi, esi
xor ebx, ebx
jmp 0x638c93
mov ecx, dword [esp + 0xe8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0063a780
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
test edx, edx
jne 0x638d9d
test ebp, ebp
je 0x638ce5
mov eax, dword [esp + 0x138]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0xe8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
call fcn.00638390
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
jmp 0x638d53
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 0xcc]
mov edx, dword [esp + 0x138]
mov edx, dword [edx + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov byte [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0062ccf0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], ecx
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 0xc8]
mov dword [esp], eax
call fcn.006039c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x638d91
mov eax, dword [esp + 0x140]
test eax, eax
jne 0x638d91
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], edx
call fcn.00435720
add esp, 0x134
ret
call fcn.00435720
add esp, 0x134
ret
call fcn.00435720
add esp, 0x134
ret
call fcn.00435720
add esp, 0x134
ret
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
call fcn.00435720
add esp, 0x134
ret
mov dword [esp + 0xf4], eax
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0xf8]
mov dword [esp], edx
call fcn.0046b990
mov eax, dword [esp + 0x138]
movzx ecx, byte [esp + 0x2f]
mov edx, dword [esp + 0xf4]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0xe0]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
movzx ecx, byte [esp + 0x32]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x60]
test esi, esi
je 0x638ae8
test eax, eax
jne 0x638ae8
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0xe0], ebp
mov eax, dword [esp + 0x138]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.006390d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x638f94
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xe8]
lea ecx, [eax + 0xc0]
mov dword [esp + 0xf8], ecx
mov dword [esp], ecx
call fcn.0046b610
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
cmp edx, ecx
jb 0x638fd1
mov ebx, dword [esp + 0x44]
cmp ebx, ecx
jb 0x638fc8
sub ebx, ecx
mov dword [esp + 0x44], ebx
mov eax, edx
sub edx, ecx
mov dword [esp + 0x48], edx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov esi, dword [esp + 0xe0]
add edx, esi
mov dword [esp + 0xe0], edx
movzx edi, byte [esp + 0x30]
xchg edi, eax
test al, al
xchg edi, eax
je 0x638f04
test ebx, ebx
jne 0x638f04
movzx edi, byte [esp + 0x31]
xor edi, 1
xchg edi, eax
mov byte [esp + 0x2f], al
xchg edi, eax
jmp 0x638f12
mov dword [esp + 0x68], eax
xor eax, eax
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0xe8]
mov ebx, dword [edx + 0xcc]
mov ebp, dword [esp + 0x138]
mov edi, dword [ebp + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], edi
movzx ebx, byte [esp + 0x2f]
mov byte [esp + 8], bl
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0062ccf0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x638de3
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 0xc8]
mov dword [esp], ecx
call fcn.006039c0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
jmp 0x638de3
mov dword [esp + 0x140], edx
mov dword [esp + 0x144], ebx
call fcn.00435720
add esp, 0x134
ret
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], edx
call fcn.00435720
add esp, 0x134
ret
mov eax, ecx
mov ecx, ebx
call fcn.00464480
call fcn.00464460
mov ecx, esi
mov edx, ebx
call fcn.00464460
nop
call fcn.00462f90
jmp fcn.00638550