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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47b208
sub esp, 0x44
movzx eax, byte [esp + 0x74]
cmp al, 0x47
ja 0x47afb2
cmp al, 0x45
je 0x47afb7
cmp al, 0x47
je 0x47b026
jmp 0x47b13e
cmp al, 0x65
jne 0x47b014
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.004637f4
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2c], al
call fcn.0047b760
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 0x47b1af
cmp al, 0x67
jne 0x47b13e
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
cmp edx, ecx
jle 0x47b03e
cmp dword [esp + 0x68], ecx
jg 0x47b03e
mov ebx, edx
mov edx, ecx
jmp 0x47b040
mov ebx, edx
movzx ebp, byte [esp + 0x54]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x47b050
mov edx, 6
mov ebp, dword [esp + 0x68]
mov esi, eax
lea eax, [ebp - 1]
cmp eax, 0xfffffffc
jge 0x47b062
cmp ebx, ecx
jmp 0x47b068
cmp edx, eax
jg 0x47b0d3
cmp ebx, ecx
jg 0x47b06c
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.004637f4
mov ecx, dword [esp + 0x40]
dec ecx
mov dword [esp + 0x28], ecx
add eax, 0xfffffffe
mov byte [esp + 0x2c], al
call fcn.0047b760
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 0x47b0d9
mov ecx, ebx
sub ecx, ebp
test ecx, ecx
jg 0x47b0e1
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.004637f4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
call fcn.0047bc10
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 0x47b153
mov ebp, dword [esp + 0x48]
jmp 0x47b193
lea eax, [0x68e6c0]
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.0044b870
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.004637f4
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
call fcn.0047bc10
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.00461c70
jmp fcn.0047af80