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

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x636a48
sub esp, 0x74
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
call fcn.00631cf0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x799b80]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.00450b30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov ebx, edx
xor ebp, ebp
xor esi, esi
jmp 0x6366e7
lea esi, [esp + 0x60]
call fcn.0046cf5e
inc ebp
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
mov eax, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x50], eax
cmp ebp, ebx
jge 0x6367c9
mov dword [esp + 0x3c], ebp
lea edi, [ecx + ebp*8]
mov ecx, dword [edi]
mov dword [esp + 0x2c], ecx
mov edi, dword [edi + 4]
mov dword [esp + 0x4c], edi
lea edi, [esp + 0x60]
xor eax, eax
call fcn.0046ca7b
lea ecx, [esi + 1]
mov eax, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x64], ebx
cmp edx, ecx
jb 0x636731
mov ebx, dword [esp + 0x50]
jmp 0x63676d
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x799b80]
mov dword [esp + 0x10], eax
call fcn.00450c90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov esi, dword [0xf34078]
lea edi, [ecx + ecx*4]
lea edi, [ebx + edi*4 - 0x14]
test esi, esi
je 0x6366cf
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], edi
lea eax, [0x799b80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
call fcn.00412810
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
jmp 0x6366cf
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0x78]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
lea edi, [ebx + esi]
nop
mov edx, dword [ecx + 4]
cmp ebp, edi
jae 0x636820
mov dword [esp + 0x24], ebx
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
lea eax, [0x796240]
mov dword [esp + 0x10], eax
call fcn.00450c90
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x48], edx
lea ecx, [ebx + ebx*4]
sub edi, ebx
sub ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl ecx, 2
sar ebp, 0x1f
and ecx, ebp
add ecx, edx
lea ebx, [0x799b80]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.004128c0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x7c]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x24]
cmp ebx, edx
jb 0x636a3e
mov dword [esp + 0x3c], edx
lea ebp, [edx + edx*4]
mov esi, dword [esp + 0x28]
mov edi, esi
sub esi, edx
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ebp, 2
sar esi, 0x1f
and ebp, esi
mov esi, ebx
sub ebx, edx
mov edx, dword [esp + 0x48]
add ebp, edx
cmp ecx, esi
ja 0x636a35
lea eax, [0x799b80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
lea eax, [ecx + ecx*4]
sub esi, ecx
sub edi, ecx
xchg edi, ebx
neg ebx
xchg edi, ebx
shl eax, 2
sar edi, 0x1f
and eax, edi
add eax, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.004128c0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x636a30
lea eax, [0x799b80]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004128c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [0xf34078]
test eax, eax
jne 0x63693c
mov eax, dword [esp + 0x48]
jmp 0x63694d
call fcn.0046c7e0
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], eax
lea eax, [0x7903c0]
mov dword [esp], eax
call fcn.0040d540
mov eax, dword [esp + 4]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov ecx, dword [esp + 0x7c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x34]
mov ebp, dword [edx + 0x30]
inc ebp
mov esi, dword [edx + 0x2c]
cmp ebx, ebp
jae 0x6369f0
mov dword [esp + 0x44], eax
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x762800]
mov dword [esp + 0x10], eax
call fcn.00450c90
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 0x34], eax
mov eax, dword [0xf34078]
test eax, eax
je 0x6369df
call fcn.0046c7e0
mov dword [edi], ecx
mov eax, dword [ebx + 0x2c]
mov dword [edi + 4], eax
mov dword [ebx + 0x2c], ecx
mov eax, dword [esp + 0x44]
mov ebp, edx
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov edx, ebx
mov dword [edx + 0x30], ebp
mov edx, dword [0xf34078]
test edx, edx
je 0x636a0b
call fcn.0046c7e0
mov dword [edi], eax
mov edx, dword [esi + ebp*4 - 4]
mov dword [edi + 4], edx
mov dword [esi + ebp*4 - 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
add esp, 0x74
ret
call fcn.0046c8b0
mov eax, ecx
mov ecx, esi
call fcn.0046c8b0
mov eax, edx
mov ecx, ebx
call fcn.0046c8b0
nop
call fcn.0046b3d0
jmp fcn.00636660