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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x636098
sub esp, 0x48
mov eax, dword [esp + 0x4c]
movzx ecx, word [eax]
test cx, 0x80
je 0x635a67
mov ecx, dword [esp + 0x54]
cmp ecx, 2
jl 0x635a67
mov edx, dword [esp + 0x50]
cmp byte [edx], 0x5c
jne 0x635a67
movzx ebx, byte [edx + 1]
cmp bl, 0x70
je 0x635aaa
cmp bl, 0x50
je 0x635aa3
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x48
ret
mov ebx, 0xffffffff
jmp 0x635aaf
mov ebx, 1
mov dword [esp + 0x28], ebx
lea eax, [ecx - 2]
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.006375c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x636064
cmp eax, 0x7b
je 0x635b11
mov eax, dword [esp + 0x54]
sub eax, ebp
lea ecx, [eax - 2]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
mov ebx, dword [esp + 0x50]
add ecx, ebx
jmp 0x635c86
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x7d
call fcn.0051d8d0
mov eax, dword [esp + 0xc]
test eax, eax
jge 0x635c1a
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.006374d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x635be6
lea eax, [0x68f5a0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x6c205f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x635b9c
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
jmp 0x635bac
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045f670
mov eax, ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x895740]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x48
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x48
ret
mov dword [esp + 0x34], eax
lea ecx, [eax - 3]
mov dword [esp + 0x30], ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 3
mov ebx, dword [esp + 0x50]
add ecx, ebx
mov dword [esp + 0x40], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.006374d0
mov eax, dword [esp + 0x34]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x54]
sub edx, eax
lea eax, [edx - 1]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ecx
mov ebx, dword [esp + 0x50]
add eax, ebx
mov ebp, dword [esp + 8]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
test ebp, ebp
jne 0x636030
mov ebp, edx
mov esi, eax
mov edx, dword [esp + 0x30]
mov eax, ecx
mov ecx, dword [esp + 0x40]
test edx, edx
je 0x635cb4
cmp byte [ecx], 0x5e
jne 0x635cae
mov edi, dword [esp + 0x28]
xchg edi, ebx
neg ebx
xchg edi, ebx
dec edx
mov dword [esp + 0x30], edx
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
mov edx, dword [esp + 0x30]
jmp 0x635cb8
mov edi, dword [esp + 0x28]
jmp 0x635cb8
mov edi, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], edi
cmp edx, 3
jne 0x635ce7
cmp word [ecx], 0x6e41
jne 0x635ce7
cmp byte [ecx + 2], 0x79
jne 0x635ce7
mov ecx, dword [0xa16f04]
mov edx, ecx
jmp 0x635e02
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], ecx
mov eax, dword [0xa1d1d8]
lea ebx, [0x680520]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040f340
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x635d6a
mov dword [esp + 0x38], eax
mov eax, dword [0xa1d1dc]
lea ecx, [0x680520]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0040f340
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov edx, ecx
mov ecx, dword [esp + 0x38]
jmp 0x635e02
mov eax, dword [0xa1d1e8]
lea ecx, [0x680520]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
call fcn.0040f340
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x635db6
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
xor ecx, ecx
xor edx, edx
jmp 0x635e02
mov dword [esp + 0x38], eax
mov eax, dword [0xa1d1e0]
lea ecx, [0x680520]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0040f340
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov edx, ecx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x635fab
mov eax, dword [esp + 0x4c]
movzx ebx, word [eax]
test bx, 1
je 0x635e1c
test edx, edx
jne 0x635e82
test edi, edi
jle 0x635e51
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00636f10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x635f7b
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.006370e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x635f7b
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x28]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00636f10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
call fcn.00636f10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edx
lea edi, [ebx + 0x20]
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x635ef0
mov dword [ebx + 0x20], eax
jmp 0x635ef5
call fcn.0045f670
mov dword [esp], edi
call fcn.00636860
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x635f47
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00636d30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x635f7b
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00636e30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x48
ret
lea eax, [0x68f5a0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x6c205f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x635fe6
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
jmp 0x635ff6
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045f670
mov eax, ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x895740]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x48
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
add esp, 0x48
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
add esp, 0x48
ret
call fcn.0045e260
jmp fcn.00635a20