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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 8
pop edx
mov edi, dword [esi + 8]
mov eax, dword [esi]
add edi, 0x28
mov ecx, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
call fcn.0047b5f0
mov dword [esi + 0x14], ebx
inc ebx
cmp dword [esi + 0x58], 7
jne 0x47b70e
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x36], bl
jmp 0x47b9f2
mov al, byte [esi + 0x5d]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
cmp al, bl
jne 0x47b76b
mov eax, dword [esi + 8]
add eax, 0x168
mov dword [ebp - 0x14], eax
test byte [eax + 0x1c], 0x10
je 0x47b740
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
shr ecx, 2
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x47b743
mov ecx, dword [ebp - 0x10]
xor edx, edx
test ecx, ecx
je 0x47b768
mov ebx, dword [ebp - 0xc]
mov edi, dword [esi + 0x1c]
mov eax, dword [ebx + edx*4]
add edi, dword [eax + 4]
inc edx
cmp edx, ecx
jl 0x47b74f
mov dword [ebp - 8], edi
xor ebx, ebx
mov edi, dword [ebp - 0x1c]
inc ebx
mov edx, dword [ebp - 8]
jmp 0x47b76b
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x54], eax
cmp ecx, edx
jge 0x47b9eb
cmp byte [ebp - 1], 2
jne 0x47b799
mov eax, dword [esi + 4]
imul edx, ecx, 0x14
mov dword [ebp - 0x1c], edx
cmp byte [edx + eax], 0x96
mov edx, dword [ebp - 8]
jne 0x47b76b
mov eax, dword [ebp - 0x1c]
jmp 0x47b79c
imul eax, ecx, 0x14
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0xe0], 0
je 0x47b7cb
push 9
pop ecx
mov dword [esi + 0x58], ecx
call fcn.004aa8b1
push eax
push 0x5ff3d8
push edx
lea eax, [esi + 0x34]
push eax
call fcn.004666c7
add esp, 0x10
jmp 0x47b9f2
cmp ecx, dword [esi + 0x1c]
jge 0x47b7d7
mov edx, dword [esi + 4]
add edx, eax
jmp 0x47b806
mov eax, dword [ebp - 0xc]
xor edx, edx
sub ecx, dword [esi + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, eax
jl 0x47b7fb
mov ebx, dword [ebp - 0xc]
sub ecx, eax
inc edx
mov eax, dword [ebx + edx*4]
mov eax, dword [eax + 4]
cmp ecx, eax
jge 0x47b7eb
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
imul edx, ecx, 0x14
add edx, dword [eax]
push 4
mov dword [ebp - 8], edx
pop eax
cmp byte [esi + 0x5d], bl
jne 0x47b8cc
mov word [edi + 0x1c], ax
mov eax, ecx
cdq
mov dword [edi + 0x10], eax
mov eax, 0xa02
mov word [edi + 0x44], ax
mov eax, dword [ebp - 8]
mov byte [edi + 0x1e], bl
mov dword [edi + 0x14], edx
movzx eax, byte [eax]
mov ecx, dword [eax*4 + 0x5f5550]
mov dword [edi + 0x2c], ecx
call fcn.0046811b
mov ecx, dword [ebp - 8]
mov dword [edi + 0x40], eax
mov byte [edi + 0x46], 3
mov byte [edi + 0x47], bl
add edi, 0x50
cmp byte [ecx + 1], 0xee
mov dword [ebp - 0x18], edi
jne 0x47b8d1
mov edx, dword [ebp - 0x10]
lea eax, [edx*4 + 4]
mov dword [ebp - 0x20], eax
xor eax, eax
test edx, edx
je 0x47b882
mov edi, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x10]
cmp dword [edi + eax*4], ecx
je 0x47b87f
inc eax
cmp eax, edx
jl 0x47b875
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x18]
cmp eax, edx
jne 0x47b8d1
mov ecx, dword [ebp - 0x14]
xor eax, eax
test edx, edx
mov edx, dword [ebp - 0x20]
setne al
push eax
call fcn.00479c2c
pop ecx
push 4
test eax, eax
jne 0x47b8c7
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x10]
mov dword [ecx + edx*4], eax
lea eax, [edx*4 + 4]
or word [edi + 0x1c], 0x10
mov dword [edi + 0x18], eax
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
jmp 0x47b8d3
mov ecx, dword [ebp - 8]
jmp 0x47b8d4
push 4
pop eax
mov word [edi + 0x1c], ax
mov eax, dword [ecx + 4]
cdq
mov dword [edi + 0x10], eax
push 4
pop eax
mov dword [edi + 0x14], edx
mov word [edi + 0x44], ax
mov byte [edi + 0x1e], bl
mov eax, dword [ecx + 8]
cdq
mov dword [edi + 0x38], eax
push 4
pop eax
mov dword [edi + 0x3c], edx
mov word [edi + 0x6c], ax
mov byte [edi + 0x46], bl
mov eax, dword [ecx + 0xc]
cdq
mov dword [edi + 0x64], edx
push 0
mov dword [edi + 0x60], eax
mov byte [edi + 0x6e], bl
add edi, 0x78
push 0x20
pop edx
mov ecx, edi
mov dword [ebp - 0x10], edi
call fcn.00479c2c
pop ecx
test eax, eax
jne 0x47b9f2
mov edx, dword [edi + 4]
mov eax, 0x602
mov word [edi + 0x1c], ax
mov edi, dword [ebp - 8]
push ecx
mov ecx, edi
call fcn.0047b301
mov edx, dword [ebp - 0x10]
pop ecx
mov ecx, dword [edx + 4]
cmp eax, ecx
je 0x47b961
mov ecx, dword [ebp - 0x10]
mov edx, eax
push 0
push ebx
push 0xffffffffffffffff
call fcn.0047a34f
mov edx, dword [ebp - 0x10]
add esp, 0xc
jmp 0x47b96c
call fcn.0046811b
mov dword [edx + 0x18], eax
mov byte [edx + 0x1f], bl
push 3
pop ecx
mov byte [edx + 0x1e], cl
lea eax, [edx + 0x28]
mov dl, byte [esi + 0x5d]
cmp dl, bl
jne 0x47b9d0
push 0
push 4
pop ecx
mov edx, ecx
mov ecx, eax
call fcn.00479c2c
pop ecx
test eax, eax
jne 0x47b9f2
mov ecx, dword [ebp - 0x10]
mov eax, 0x602
mov word [ecx + 0x44], ax
mov dword [ecx + 0x40], 2
movzx eax, byte [edi + 3]
lea edi, [ecx + 0x28]
push eax
push str._.2x
push dword [edi + 4]
push 3
call fcn.004678ab
add esp, 0x10
mov byte [edi + 0x1f], bl
mov word [edi + 0x44], bx
mov byte [edi + 0x46], 5
push 3
pop ecx
mov byte [edi + 0x1e], cl
mov dl, byte [esi + 0x5d]
movzx eax, dl
sub cx, ax
mov eax, dword [esi + 8]
shl cx, 2
add eax, 0x28
mov word [esi + 0x2c], cx
mov dword [esi + 0x14], eax
push 0x64
jmp 0x47b9ed
push 0x65
and dword [esi + 0x58], 0
pop ebx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret