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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x494da8
sub esp, 0x44
movzx eax, byte [esp + 0x74]
cmp al, 0x47
ja 0x494b52
cmp al, 0x45
je 0x494b57
cmp al, 0x47
je 0x494bc6
jmp 0x494cde
cmp al, 0x65
jne 0x494bb4
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.0045fac4
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2c], al
call fcn.00495300
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 0x494d4f
cmp al, 0x67
jne 0x494cde
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
cmp edx, ecx
jle 0x494bde
cmp dword [esp + 0x68], ecx
jg 0x494bde
mov ebx, edx
mov edx, ecx
jmp 0x494be0
mov ebx, edx
movzx ebp, byte [esp + 0x54]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x494bf0
mov edx, 6
mov ebp, dword [esp + 0x68]
mov esi, eax
lea eax, [ebp - 1]
cmp eax, 0xfffffffc
jge 0x494c02
cmp ebx, ecx
jmp 0x494c08
cmp edx, eax
jg 0x494c73
cmp ebx, ecx
jg 0x494c0c
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.0045fac4
mov ecx, dword [esp + 0x40]
dec ecx
mov dword [esp + 0x28], ecx
add eax, 0xfffffffe
mov byte [esp + 0x2c], al
call fcn.00495300
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 0x494c79
mov ecx, ebx
sub ecx, ebp
test ecx, ecx
jg 0x494c81
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.0045fac4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
call fcn.004957b0
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 0x494cf3
mov ebp, dword [esp + 0x48]
jmp 0x494d33
lea eax, [0x535200]
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.004475d0
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.0045fac4
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.004957b0
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.0045e000
jmp fcn.00494b20