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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a2008
sub esp, 0x44
movzx eax, byte [esp + 0x74]
cmp al, 0x47
ja 0x4a1db2
cmp al, 0x45
je 0x4a1db7
cmp al, 0x47
je 0x4a1e26
jmp 0x4a1f3e
cmp al, 0x65
jne 0x4a1e14
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.004631d4
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2c], al
call fcn.004a2560
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 0x4a1faf
cmp al, 0x67
jne 0x4a1f3e
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
cmp edx, ecx
jle 0x4a1e3e
cmp dword [esp + 0x68], ecx
jg 0x4a1e3e
mov ebx, edx
mov edx, ecx
jmp 0x4a1e40
mov ebx, edx
movzx ebp, byte [esp + 0x54]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a1e50
mov edx, 6
mov ebp, dword [esp + 0x68]
mov esi, eax
lea eax, [ebp - 1]
cmp eax, 0xfffffffc
jge 0x4a1e62
cmp ebx, ecx
jmp 0x4a1e68
cmp edx, eax
jg 0x4a1ed3
cmp ebx, ecx
jg 0x4a1e6c
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.004631d4
mov ecx, dword [esp + 0x40]
dec ecx
mov dword [esp + 0x28], ecx
add eax, 0xfffffffe
mov byte [esp + 0x2c], al
call fcn.004a2560
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 0x4a1ed9
mov ecx, ebx
sub ecx, ebp
test ecx, ecx
jg 0x4a1ee1
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.004631d4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
call fcn.004a2a10
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 0x4a1f53
mov ebp, dword [esp + 0x48]
jmp 0x4a1f93
lea eax, [0x662da0]
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.0044b610
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.004631d4
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.004a2a10
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.00461660
jmp fcn.004a1d80