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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46f648
sub esp, 0x44
movzx eax, byte [esp + 0x74]
cmp al, 0x47
ja 0x46f3f2
cmp al, 0x45
je 0x46f3f7
cmp al, 0x47
je 0x46f466
jmp 0x46f57e
cmp al, 0x65
jne 0x46f454
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x55]
mov byte [esp + 0xc], cl
lea edi, [esp + 0x10]
lea esi, [esp + 0x58]
call fcn.00460124
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2c], al
call fcn.0046fba0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x44
ret
cmp al, 0x66
je 0x46f5ef
cmp al, 0x67
jne 0x46f57e
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
cmp edx, ecx
jle 0x46f47e
cmp dword [esp + 0x68], ecx
jg 0x46f47e
mov ebx, edx
mov edx, ecx
jmp 0x46f480
mov ebx, edx
movzx ebp, byte [esp + 0x54]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46f490
mov edx, 6
mov ebp, dword [esp + 0x68]
mov esi, eax
lea eax, [ebp - 1]
cmp eax, 0xfffffffc
jge 0x46f4a2
cmp ebx, ecx
jmp 0x46f4a8
cmp edx, eax
jg 0x46f513
cmp ebx, ecx
jg 0x46f4ac
mov ecx, ebx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x55]
mov byte [esp + 0xc], al
lea edi, [esp + 0x10]
mov eax, esi
lea esi, [esp + 0x58]
call fcn.00460124
mov ecx, dword [esp + 0x40]
dec ecx
mov dword [esp + 0x28], ecx
add eax, 0xfffffffe
mov byte [esp + 0x2c], al
call fcn.0046fba0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x44
ret
cmp ebx, ebp
jg 0x46f519
mov ecx, ebx
sub ecx, ebp
test ecx, ecx
jg 0x46f521
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x55]
mov byte [esp + 0xc], al
lea edi, [esp + 0x10]
lea esi, [esp + 0x58]
call fcn.00460124
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
call fcn.00470050
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x44
ret
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + 2]
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jb 0x46f593
mov ebp, dword [esp + 0x48]
jmp 0x46f5d3
lea eax, [0x95d1a0]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00448250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add ecx, 2
mov ebp, eax
mov ebx, edx
movzx eax, byte [esp + 0x74]
mov edx, ecx
mov ecx, dword [esp + 0x4c]
mov byte [ebp + ecx], 0x25
mov byte [ebp + ecx + 1], al
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x55]
mov byte [esp + 0xc], al
lea edi, [esp + 0x10]
lea esi, [esp + 0x58]
call fcn.00460124
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.00470050
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x44
ret
call fcn.0045e560
jmp fcn.0046f3c0