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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46e858
sub esp, 0x44
movzx eax, byte [esp + 0x74]
cmp al, 0x47
ja 0x46e602
cmp al, 0x45
je 0x46e607
cmp al, 0x47
je 0x46e676
jmp 0x46e78e
cmp al, 0x65
jne 0x46e664
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.0045dcb4
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2c], al
call fcn.0046edb0
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 0x46e7ff
cmp al, 0x67
jne 0x46e78e
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
cmp edx, ecx
jle 0x46e68e
cmp dword [esp + 0x68], ecx
jg 0x46e68e
mov ebx, edx
mov edx, ecx
jmp 0x46e690
mov ebx, edx
movzx ebp, byte [esp + 0x54]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46e6a0
mov edx, 6
mov ebp, dword [esp + 0x68]
mov esi, eax
lea eax, [ebp - 1]
cmp eax, 0xfffffffc
jge 0x46e6b2
cmp ebx, ecx
jmp 0x46e6b8
cmp edx, eax
jg 0x46e723
cmp ebx, ecx
jg 0x46e6bc
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.0045dcb4
mov ecx, dword [esp + 0x40]
dec ecx
mov dword [esp + 0x28], ecx
add eax, 0xfffffffe
mov byte [esp + 0x2c], al
call fcn.0046edb0
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 0x46e729
mov ecx, ebx
sub ecx, ebp
test ecx, ecx
jg 0x46e731
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.0045dcb4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
call fcn.0046f260
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 0x46e7a3
mov ebp, dword [esp + 0x48]
jmp 0x46e7e3
lea eax, [0x4fa160]
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.00446d70
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.0045dcb4
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.0046f260
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.0045c1c0
jmp fcn.0046e5d0