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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x636053
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x635d38
mov ecx, dword [ecx]
jmp 0x635d3a
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea eax, [0x6871e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.0044aea0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x44]
xor eax, eax
call fcn.00464634
lea eax, [0x6b3f40]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0040d980
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov edx, dword [esp + 0x38]
jmp 0x635db8
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0040dbb0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x635f9c
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00631030
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
cmp eax, 7
jne 0x635e11
cmp dword [ecx], 0x69617254
jne 0x635e7b
cmp word [ecx + 4], 0x656c
jne 0x635e7b
cmp byte [ecx + 6], 0x72
jne 0x635e7b
jmp 0x635f13
cmp eax, 0xe
je 0x635e4c
cmp eax, 0x11
jne 0x635e7b
mov dword [esp], ecx
lea eax, [0x6c381f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x11
call fcn.00402ab0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x635f01
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
jmp 0x635e7b
mov dword [esp], ecx
lea eax, [0x6c259f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
call fcn.00402ab0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x635f0b
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 0x635e8e
mov ebp, dword [esp + 0x2c]
jmp 0x635ece
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, [0x6871e0]
mov dword [esp + 0x10], eax
call fcn.0044af60
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
lea edi, [ebp + edx*8 - 8]
mov esi, dword [0x8d9190]
test esi, esi
jne 0x635ef5
mov dword [edi], ecx
jmp 0x635da0
mov eax, ecx
call fcn.004643a0
jmp 0x635da0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
jmp 0x635f13
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409640
mov eax, dword [esp + 8]
lea ecx, [0x6871e0]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x6c607b]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c3100
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x74
ret
test ecx, ecx
je 0x636026
nop
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004096c0
mov eax, dword [esp + 0xc]
lea ecx, [0x728468]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00492890
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, [0x6bf716]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004d56e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x74
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x74
ret
call fcn.00462f90
jmp fcn.00635d10