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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x40]
cmp eax, dword [ecx + 8]
jbe 0x638c79
sub esp, 0xc0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov ecx, dword [esp + 0xc8]
cmp ecx, 0xc
jl 0x638b7c
mov edx, dword [esp + 0xc4]
movzx ebx, byte [edx]
movzx ebp, byte [edx + 1]
mov esi, ebp
shl ebp, 8
or ebp, ebx
movzx ebx, byte [edx + 5]
mov eax, ecx
movzx ecx, byte [edx + 4]
mov edi, ebx
movzx ebx, byte [edx + 7]
mov dword [esp + 0x5c], ebx
movzx ebx, byte [edx + 6]
mov dword [esp + 0x58], ebx
movzx ebx, byte [edx + 2]
mov dword [esp + 0x54], ebx
shr esi, 0x18
shr ebx, 0x10
or esi, ebx
mov ebx, dword [esp + 0x54]
shl ebx, 0x10
or ebp, ebx
movzx ebx, byte [edx + 3]
mov dword [esp + 0x54], ebx
shr ebx, 8
or esi, ebx
mov ebx, dword [esp + 0x54]
shl ebx, 0x18
or ebp, ebx
or ecx, esi
shl edi, 8
or ecx, edi
mov ebx, dword [esp + 0x58]
shl ebx, 0x10
or ecx, ebx
mov ebx, dword [esp + 0x5c]
shl ebx, 0x18
or ecx, ebx
lea ebx, [eax - 8]
mov esi, dword [esp + 0xcc]
mov edi, esi
add esi, 0xfffffff7
sar esi, 0x1f
xor esi, 0xffffffff
and esi, 8
cmp ebx, 3
jbe 0x638b75
mov ebx, dword [edx + esi]
test ebx, ebx
jl 0x638a78
xor esi, esi
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], ebx
test esi, esi
jne 0x638a3e
mov ecx, dword [esp + 0xe0]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xd4]
cmp ecx, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
mov edx, dword [esp + 0xd0]
cmp ebx, edx
setb dl
and esi, edx
cmp ecx, ebp
setb cl
or ecx, esi
test cl, cl
jne 0x638939
cmp eax, 0xc
jb 0x638932
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x50], 0
lea edi, [esp + 0x9c]
mov edx, eax
xor eax, eax
call fcn.0044a377
lea ecx, [0x650f70]
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0xe4]
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0xcc]
lea ebx, [ecx - 0xd]
sar ebx, 0x1f
xor ebx, 0xffffffff
and ebx, 0xc
mov ebp, dword [esp + 0xc4]
add ebx, ebp
mov dword [esp + 0xa8], ebx
add edx, 0xfffffff4
mov dword [esp + 0xac], edx
add ecx, 0xfffffff4
mov dword [esp + 0xb0], ecx
lea ebp, [esp + 0xdc]
mov dword [esp + 0xb4], ebp
mov ebp, dword [esp + 0xd8]
mov dword [esp + 0xb8], ebp
lea ebp, [esp + 0x50]
mov dword [esp + 0xbc], ebp
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 0xc], ecx
call fcn.00637ff0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x63877e
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], ecx
add esp, 0xc0
ret
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0xe4]
cmp eax, ebx
jne 0x63878f
jmp 0x638769
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea eax, [0x6b4260]
mov dword [esp], eax
lea ecx, [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.0040a880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [0x6b4260]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0040a880
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea eax, [0x7102ca]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0049a880
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
lea edx, [0x6c1960]
mov dword [esp], edx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x638919
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov ecx, dword [0x730a60]
mov dword [esp + 0x2c], ecx
mov edx, dword [0x730a68]
mov dword [esp + 0x48], edx
mov ebx, dword [0x730a64]
mov dword [esp + 0x34], ebx
lea ebp, [0x6c8ca0]
mov dword [esp], ebp
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
lea ecx, [0x847d60]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x638903
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x10], ecx
mov ecx, eax
lea edx, [0x847e00]
jmp 0x638769
mov dword [esp], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x78]
jmp 0x6388f6
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x7c]
jmp 0x638891
call fcn.004246e0
ud2
lea eax, [0x6c1960]
mov dword [esp], eax
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [eax + 4], 0x17
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x638a23
lea ecx, [0x70c0b2]
mov dword [eax], ecx
mov ecx, dword [0x730a50]
mov dword [esp + 0x28], ecx
mov edx, dword [0x730a58]
mov dword [esp + 0x4c], edx
mov ebx, dword [0x730a54]
mov dword [esp + 0x30], ebx
lea ebp, [0x6c8ca0]
mov dword [esp], ebp
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
lea ecx, [0x847d60]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x884700]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x638a0d
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x10], ecx
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea ecx, [0x847e00]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
add esp, 0xc0
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x78]
jmp 0x6389d1
mov dword [esp], eax
lea ecx, [0x70c0b2]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x7c]
jmp 0x63896c
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], esi
mov eax, dword [esp + 0x74]
mov dword [esp + 0xec], eax
add esp, 0xc0
ret
lea ecx, [0x6c1960]
mov dword [esp], ecx
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [eax + 4], 0x16
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x638b5a
lea ecx, [0x70b8a7]
mov dword [eax], ecx
mov ecx, dword [0x730a40]
mov dword [esp + 0x20], ecx
mov edx, dword [0x730a48]
mov dword [esp + 0x40], edx
mov ebx, dword [0x730a44]
mov dword [esp + 0x3c], ebx
lea ebp, [0x6c8ca0]
mov dword [esp], ebp
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [0x847d60]
mov dword [eax + 0xc], ecx
mov edx, dword [0x884700]
lea ebx, [eax + 0x10]
test edx, edx
jne 0x638b3e
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
mov edi, dword [esp + 0xcc]
lea esi, [0x847e00]
xor ebx, ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x74], ebp
xor ecx, ecx
xor ebp, ebp
jmp 0x638621
mov dword [esp], ebx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
call fcn.0040d5a0
mov eax, dword [esp + 0x78]
lea ecx, [0x847d60]
jmp 0x638b10
mov dword [esp], eax
lea ecx, [0x70b8a7]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x7c]
jmp 0x638aab
call fcn.00424680
ud2
lea eax, [0x6c1960]
mov dword [esp], eax
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [eax + 4], 9
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x638c5e
lea ecx, [0x706396]
mov dword [eax], ecx
mov ecx, dword [0x730a38]
mov dword [esp + 0x44], ecx
mov edx, dword [0x730a30]
mov dword [esp + 0x24], edx
mov ebx, dword [0x730a34]
mov dword [esp + 0x38], ebx
lea ebp, [0x6c8ca0]
mov dword [esp], ebp
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [0x847d60]
mov dword [eax + 0xc], ecx
mov edx, dword [0x884700]
lea ebx, [eax + 0x10]
test edx, edx
jne 0x638c42
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
mov edi, dword [esp + 0xcc]
lea esi, [0x847e00]
xor ebx, ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x74], ebp
xor ecx, ecx
xor ebp, ebp
jmp 0x638621
mov dword [esp], ebx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
call fcn.0040d5a0
mov eax, dword [esp + 0x78]
lea ecx, [0x847d60]
jmp 0x638c14
mov dword [esp], eax
lea ecx, [0x706396]
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov eax, dword [esp + 0x7c]
jmp 0x638baf
call fcn.004486b0
jmp fcn.00638510