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

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x635f44
sub esp, 0x8c
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
mov ebx, dword [eax + 0x3c]
mov byte [esp], 7
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00636700
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x635f13
mov dword [esp + 0x6c], ecx
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00471acb
test ebp, ebp
sete cl
test esi, esi
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
je 0x635cff
xor ecx, ecx
jmp 0x635df4
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov ecx, dword [0x91348c]
mov edi, dword [ecx + 4]
mov dword [esp + 0x38], edi
sar edi, 0x1f
cmp esi, edi
xchg edi, ebx
sete bl
xchg edi, ebx
setb al
mov ebx, dword [esp + 0x38]
cmp ebx, ebp
setae dl
and edx, edi
or eax, edx
test al, al
je 0x635d74
mov eax, ebp
add ebp, 0xffffffff
adc esi, 0xffffffff
test esi, esi
jne 0x635f3a
cmp ebp, ebx
jae 0x635f31
lea edx, [ebp + ebp*4]
mov ecx, dword [ecx]
lea esi, [ecx + edx*4]
lea edi, [esp + 0x70]
call fcn.00471fae
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ebp, eax
mov ecx, 1
xor eax, eax
jmp 0x635df4
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx + 4]
add edx, ebx
mov ebx, edx
sar edx, 0x1f
cmp esi, edx
seta dl
sete al
cmp ebp, ebx
seta bl
and eax, ebx
or eax, edx
test al, al
je 0x635da8
xor eax, eax
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
xor ecx, ecx
jmp 0x635df4
lea edi, [esp + 0x50]
mov esi, ecx
call fcn.00471f9a
mov ecx, dword [0x91348c]
mov eax, dword [esp + 0x54]
mov ecx, dword [ecx + 4]
mov edx, ebp
sub ebp, ecx
mov ecx, eax
sub eax, ebp
cmp ecx, eax
jbe 0x635f2c
mov ecx, dword [esp + 0x50]
lea ebx, [eax + eax*4]
lea esi, [ecx + ebx*4]
lea edi, [esp + 0x70]
call fcn.00471fae
xor eax, eax
mov ebx, dword [esp + 0x34]
mov ebp, edx
mov ecx, 1
mov edx, dword [esp + 0x30]
mov byte [esp + 0x2f], cl
lea edi, [esp + 0x3c]
lea esi, [esp + 0x70]
call fcn.00471fae
movzx ecx, byte [esp + 0x2f]
test cl, cl
je 0x635ea5
mov ecx, dword [esp + 0x90]
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x3c], ebx
mov edx, dword [0x93f150]
test edx, edx
jne 0x635e2f
mov edx, dword [esp + 0x6c]
jmp 0x635e40
call fcn.00471840
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov ebx, dword [ecx + 0x34]
mov dword [edi + 4], ebx
mov dword [ecx + 0x34], edx
lea edi, [esp + 0x70]
call fcn.00471acb
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0x70]
call fcn.00471fae
call fcn.006364c0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
add esp, 0x8c
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp], ebp
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x78b0e0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x6f05c0]
mov dword [esp], eax
lea eax, [esp + 0x84]
mov dword [esp + 4], eax
call fcn.00409d70
mov eax, dword [esp + 8]
lea ecx, [0x78ad70]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x8c
ret
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x8c
ret
call fcn.004718b0
mov eax, ebp
mov ecx, ebx
call fcn.004718c0
mov eax, ebp
mov ecx, ebx
call fcn.00471990
nop
call fcn.00470430
jmp fcn.00635c70