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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x635c8b
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x635996
mov ecx, dword [ecx]
jmp 0x635998
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea eax, [0x6c0080]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.004726e0
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x58]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0x3c]
mov edx, eax
xor eax, eax
call fcn.004773d4
lea eax, [0x6f48c0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0046d2f0
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
jmp 0x635a12
mov dword [esi], ecx
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.0046d480
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x635bf5
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.006309e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
cmp eax, 7
jne 0x635a6b
cmp dword [ecx], 0x69617254
jne 0x635ad5
cmp word [ecx + 4], 0x656c
jne 0x635ad5
cmp byte [ecx + 6], 0x72
jne 0x635ad5
jmp 0x635b6f
cmp eax, 0xe
je 0x635aa6
cmp eax, 0x11
jne 0x635ad5
mov dword [esp], ecx
lea eax, [0x7067f1]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x11
call fcn.004040c0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x635b5d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
jmp 0x635ad5
mov dword [esp], ecx
lea eax, [0x705131]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
call fcn.004040c0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x635b67
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
inc edx
mov ebx, dword [esp + 0x24]
cmp ebx, edx
jb 0x635ae8
mov ebp, dword [esp + 0x2c]
jmp 0x635b28
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c0080]
mov dword [esp + 0x10], eax
call fcn.00472770
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
lea esi, [ebp + edx*8 - 4]
mov dword [esi], eax
mov eax, dword [0x8c88d8]
lea esi, [ebp + edx*8 - 8]
test eax, eax
je 0x6359f8
call fcn.004772f0
mov dword [edi], ecx
mov eax, dword [esi]
mov dword [edi + 4], eax
jmp 0x6359f8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
jmp 0x635b6f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046b860
mov eax, dword [esp + 8]
lea ecx, [0x6c0080]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea eax, [0x709430]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c8ee0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x70
ret
test eax, eax
je 0x635c61
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004ec970
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
lea eax, [0x70229c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004d3eb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
call fcn.00475ee0
jmp fcn.00635970