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

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb8]
xor ebp, ebp
push edi
mov dword [esp + 0x10], ebp
mov edi, dword [esi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x20], ebx
lea eax, [ebx - 0x8000]
mov dword [esi + 8], eax
add eax, eax
push eax
push ebp
push ebp
push dword [edi + 0x54]
call fcn.004717a0
mov dword [esi + 4], eax
add esp, 0x10
lea ecx, [eax - 0x10000]
mov dword [esp + 0x1c], ecx
mov ecx, 0x8000
mov word [eax], cx
xor eax, eax
mov ecx, edi
mov dword [edi + 0x7a], 0x11800000
mov word [edi + 0x78], ax
call fcn.00471a90
movzx esi, word [edi + 6]
mov dword [esp + 0x2c], esi
lea eax, [esi*2 - 2]
cmp eax, dword [edi + 0x120]
jbe 0x47c9a3
push eax
push edi
call fcn.004904b0
add esp, 8
mov edx, dword [edi + 0x1c]
lea esi, [esi + esi*2]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffffe
movzx ecx, byte [edx + esi*4 - 4]
imul ecx, eax
mov eax, dword [edi + 0x18]
lea eax, [ecx + eax*2]
cmp eax, dword [edi + 0x12c]
jbe 0x47c9d3
push eax
push edi
call fcn.00490510
mov edx, dword [edi + 0x1c]
add esp, 8
mov ecx, dword [edx + esi*4 - 0xc]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x18], 0x8001
lea eax, [eax + ecx*4]
mov dword [esp + 0x28], eax
movzx eax, byte [edx + esi*4 - 4]
mov edx, dword [esp + 0x28]
mov dword [edx + eax*4], 0xff000000
mov ecx, dword [edi + 0x1c]
lea eax, [edx + eax*4]
mov dword [esp + 0x34], eax
lea esi, [ecx + 0xc]
mov dword [esp + 0x24], esi
cmp ebx, 0x8001
jbe 0x47cc48
mov ebx, 0x8001
nop dword [eax + eax]
movzx eax, word [esi + 4]
cmp ebx, eax
jb 0x47ca3e
push dword [esp + 0x1c]
push edx
push esi
push edi
call fcn.0047c710
add esp, 0x10
add esi, 0xc
mov dword [esp + 0x24], esi
mov eax, dword [edi + 0x10]
movzx ebp, word [eax + ebx*8]
lea esi, [eax + ebx*8]
mov eax, dword [esp + 0x1c]
mov edx, ebp
cmp edx, 0x8000
jb 0x47ca5a
movzx edx, word [eax + edx*2]
movzx ebx, word [esi + 2]
mov ecx, ebx
cmp ecx, 0x8000
jb 0x47ca6c
movzx ecx, word [eax + ecx*2]
movzx eax, byte [esi + 5]
test byte [eax + 0x509088], 0x60
jne 0x47ca92
cmp edx, ebp
jne 0x47ca92
cmp ecx, ebx
jne 0x47ca92
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov word [eax + ebx*2], bx
jmp 0x47cc29
mov al, byte [esi + 4]
mov ebx, 0xffbf
mov byte [esp + 0x17], al
mov ax, word [esi + 4]
and ax, bx
mov word [edi + 0x7a], cx
mov ecx, edi
mov word [edi + 0x7c], ax
mov word [edi + 0x78], dx
call fcn.0047ba80
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movzx esi, ax
lea ebp, [ecx + ebx*2]
mov eax, esi
mov word [ebp], si
mov dword [esp + 0x30], eax
cmp eax, ebx
je 0x47cc29
mov edx, dword [edi + 0x10]
lea ecx, [edx + eax*8]
cmp eax, dword [esp + 0x20]
jae 0x47cbb7
cmp eax, 0x8000
jb 0x47cb1c
mov dl, byte [ecx + 4]
test dl, 0x40
jne 0x47cb1c
mov al, dl
and al, 0x1f
cmp al, 2
jbe 0x47cb1c
mov eax, dword [esp + 0x10]
or dl, 0x40
mov byte [ecx + 4], dl
cmp eax, 0x40
jae 0x47cc9e
mov word [esp + eax*2 + 0x38], si
inc eax
mov dword [esp + 0x10], eax
mov bl, byte [ecx + 4]
mov al, byte [esp + 0x17]
mov cl, bl
xor cl, al
test cl, 0x1f
je 0x47cc25
movzx esi, al
and esi, 0x1f
movzx edx, bl
add esi, 0xfffffff1
and edx, 0x1f
cmp esi, 4
ja 0x47cb50
lea ecx, [edx - 0xf]
cmp ecx, 4
jbe 0x47cc25
and al, 0x1f
cmp al, 0xe
jne 0x47cb6a
lea eax, [edx - 0xf]
cmp eax, 4
ja 0x47cb6a
mov eax, 0x1d3
mov ecx, 0x5a0e
jmp 0x47cb89
and bl, 0x1f
cmp bl, 0xe
jne 0x47cc96
cmp esi, 4
ja 0x47cc96
mov eax, 0x326e
mov ecx, 0x5a93
mov word [edi + 0x7c], cx
mov ecx, dword [esp + 0x30]
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.0047ba80
mov ebx, dword [esp + 0x18]
movzx ecx, ax
mov word [ebp], cx
mov eax, dword [edi + 0x10]
mov ebp, dword [esp + 0x20]
lea edx, [eax + ecx*8]
jmp 0x47cbf4
cmp eax, 0xffff
je 0x47cc29
mov ebp, dword [esp + 0x20]
cmp eax, ebp
jbe 0x47cc29
mov al, byte [ecx + 5]
cmp al, 0x5a
jne 0x47cbd6
movzx ecx, word [ecx]
cmp ecx, ebp
jae 0x47cc29
jmp 0x47cbec
cmp al, 0x48
jne 0x47cc29
movzx ecx, word [ecx + 2]
cmp ecx, ebp
jae 0x47cc29
mov eax, 0x7fff
cmp cx, ax
je 0x47cc29
mov eax, ecx
movzx ecx, ax
lea edx, [edx + ecx*8]
cmp ecx, ebp
jae 0x47cc29
cmp ecx, 0x8000
jb 0x47cc29
mov al, byte [edx + 4]
mov ebp, dword [esp + 0x10]
test al, 0x40
jne 0x47cc2d
or al, 0x40
mov byte [edx + 4], al
cmp ebp, 0x40
jae 0x47cc9e
mov word [esp + ebp*2 + 0x38], cx
inc ebp
mov dword [esp + 0x10], ebp
jmp 0x47cc2d
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [esp + 0x20]
jae 0x47cc45
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
jmp 0x47ca20
mov ecx, dword [edi + 0x1c]
cmp byte [edi + 0x76], 0
jl 0x47cc64
mov eax, 0xffff
add word [edi + 6], ax
movzx eax, word [edi + 6]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x18], eax
movzx ecx, byte [ecx + 8]
mov eax, dword [edi + 0x20]
push dword [esp + 0x2c]
push ebp
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x28]
push edi
call fcn.0047c3e0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret
push 0x1a
push edi
call fcn.00498e20
push 0x19
push edi
call fcn.00498e20
int3