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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx]
ja 0x487a4f
xor edi, edi
mov eax, 0x20
call fcn.0042a440
jmp fcn.00487a30
sub esp, 0x68
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x78], 0
jne 0x487a69
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x88], 0xa
jbe 0x487d7c
mov ebx, dword [esp + 0x84]
add ebx, 0xa
movzx ebp, byte [ebx]
mov ebx, ebp
sub ebx, 0x61
add ebx, 0x78
mov byte [esp + 0x25], bl
xor esi, esi
xor ecx, ecx
xor edx, edx
xor edi, edi
mov ebx, dword [esp + 0x28]
cmp edi, ebx
jge 0x487d23
cmp edi, 0
mov dword [esp + 0x2c], edi
jle 0x487b4b
mov ebx, dword [esp + 0x6c]
movzx ebx, byte [ebx + 0x55]
cmp bl, 0
je 0x487b4b
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov eax, edx
mov dword [esp + 0x3c], edx
mov ebp, dword [esp + 0x3c]
sub ebp, ecx
cmp ebp, 1
jge 0x487b23
mov dword [esp], 0x5c2a40
mov dword [esp + 0x50], esi
mov dword [esp + 4], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0
call fcn.004276f0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, ecx
inc edx
mov ebp, eax
mov eax, esi
mov dword [esp + 0x54], edx
mov esi, ebp
lea ebp, [eax + ecx]
mov byte [ebp], 0x20
mov dword [esp + 0x50], eax
mov edx, eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x58], esi
mov eax, esi
mov esi, edx
mov edx, eax
mov ebx, dword [esp + 0x6c]
movzx ebx, byte [ebx + 0x54]
cmp bl, 0
je 0x487bf3
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov eax, edx
mov ebp, edx
sub ebp, ecx
cmp ebp, 2
jge 0x487bb7
mov dword [esp], 0x5c2a40
mov dword [esp + 0x5c], esi
mov dword [esp + 4], esi
mov dword [esp + 0x60], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 0
call fcn.004276f0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, ecx
add edx, 2
mov ebp, eax
mov eax, esi
mov esi, edx
mov edx, ebp
lea ebp, [eax + ecx]
mov dword [esp + 0x40], ebp
mov ebx, dword [esp + 0x40]
mov byte [ebx], 0x30
mov ebx, ecx
inc ebx
lea ebp, [eax + ebx]
mov ebx, ebp
movzx ebp, byte [esp + 0x25]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ecx, esi
mov dword [esp + 0x50], eax
mov esi, eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
cmp dword [esp + 0x78], 0
jne 0x487d60
cmp edi, dword [esp + 0x74]
jae 0x487d59
mov eax, dword [esp + 0x70]
lea eax, [eax + edi]
movzx eax, byte [eax]
mov ebp, eax
xchg ebp, eax
shr al, 4
xchg ebp, eax
and eax, 0xf
xchg ebp, eax
movzx ebx, al
xchg ebp, eax
cmp ebx, dword [esp + 0x88]
jae 0x487d52
mov ebp, dword [esp + 0x84]
lea ebp, [ebp + ebx]
mov dword [esp + 0x40], ebp
mov ebx, dword [esp + 0x40]
movzx ebp, byte [ebx]
xchg ebp, eax
mov byte [esp + 0x26], al
xchg ebp, eax
movzx ebx, al
cmp ebx, dword [esp + 0x88]
jae 0x487d4b
mov ebp, dword [esp + 0x84]
lea ebp, [ebp + ebx]
movzx ebp, byte [ebp]
xchg ebp, eax
mov byte [esp + 0x27], al
xchg ebp, eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov eax, edx
mov ebp, edx
sub ebp, ecx
cmp ebp, 2
jge 0x487cca
mov dword [esp], 0x5c2a40
mov dword [esp + 0x5c], esi
mov dword [esp + 4], esi
mov dword [esp + 0x60], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 0
call fcn.004276f0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebx, ecx
add ebx, 2
mov edx, eax
mov eax, esi
mov dword [esp + 0x60], ebx
mov esi, edx
lea ebx, [eax + ecx]
movzx ebp, byte [esp + 0x26]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ebx, ecx
inc ebx
lea ebp, [eax + ebx]
mov ebx, ebp
movzx ebp, byte [esp + 0x27]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov dword [esp + 0x5c], eax
mov edx, eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x64], esi
mov eax, esi
mov dword [esp + 0x50], edx
mov esi, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov edx, eax
inc edi
mov ebx, dword [esp + 0x28]
cmp edi, ebx
jl 0x487aa4
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 4], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0xc], edx
call fcn.00486a60
add esp, 0x68
ret
call fcn.004116c0
ud2
call fcn.004116c0
ud2
call fcn.004116c0
ud2
cmp edi, dword [esp + 0x7c]
jae 0x487d75
mov eax, dword [esp + 0x78]
lea eax, [eax + edi]
movzx eax, byte [eax]
jmp 0x487c12
call fcn.004116c0
ud2
call fcn.004116c0
ud2