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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x521808]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ebx + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], eax
test al, 1
je 0x47f885
mov eax, dword [ebx + 0x78]
mov ecx, edi
push esi
and eax, 0xfffffffc
push eax
push 1
call fcn.0047a270
mov esi, eax
mov eax, dword [ebp - 0x14]
test al, 2
je 0x47f89c
mov eax, dword [ebx + 0x7c]
mov ecx, edi
push esi
and eax, 0xfffffffc
push eax
push 2
call fcn.0047a270
mov esi, eax
add ebx, 0x10
mov ecx, ebx
mov dword [ebp - 0xc], ebx
call fcn.00454050
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
test ecx, ecx
jle 0x47f911
push eax
mov ecx, ebx
call fcn.00453250
mov ebx, dword [eax + 0x10]
cmp ebx, 0x80
jge 0x47f8f5
mov ecx, dword [edi]
sub ecx, esi
add ecx, 0xe
cmp ecx, ebx
jl 0x47f8f5
mov byte [esi], 0x1a
mov byte [esi + 1], bl
add esi, 2
cmp dword [eax + 0x14], 0x10
jb 0x47f8e6
mov eax, dword [eax]
push ebx
push eax
push esi
call fcn.004c8170
add esp, 0xc
add esi, ebx
jmp 0x47f902
push esi
push eax
push 3
mov ecx, edi
call fcn.004510f0
mov esi, eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x10]
jl 0x47f8b7
mov ecx, dword [ebp - 8]
xor ebx, ebx
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x47f943
mov eax, dword [ecx + 0x2c]
push edi
push esi
mov ecx, dword [eax + ebx*4 + 4]
mov eax, dword [ecx + 0xc]
push eax
push ecx
push 4
call fcn.004a5600
mov ecx, dword [ebp - 8]
inc ebx
add esp, 0x14
mov esi, eax
cmp ebx, dword [ebp - 0xc]
jb 0x47f920
mov eax, dword [ecx + 0x34]
xor ebx, ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x47f973
nop
mov eax, dword [ecx + 0x3c]
push edi
push esi
mov ecx, dword [eax + ebx*4 + 4]
mov eax, dword [ecx + 0xc]
push eax
push ecx
push 5
call fcn.004a5600
mov ecx, dword [ebp - 8]
inc ebx
add esp, 0x14
mov esi, eax
cmp ebx, dword [ebp - 0xc]
jb 0x47f950
mov eax, dword [ecx + 0x44]
xor ebx, ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x47f9a3
nop
mov eax, dword [ecx + 0x4c]
push edi
push esi
mov ecx, dword [eax + ebx*4 + 4]
mov eax, dword [ecx + 0xc]
push eax
push ecx
push 6
call fcn.004a5600
mov ecx, dword [ebp - 8]
inc ebx
add esp, 0x14
mov esi, eax
cmp ebx, dword [ebp - 0xc]
jb 0x47f980
mov eax, dword [ecx + 0x54]
xor ebx, ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x47f9d3
nop
mov eax, dword [ecx + 0x5c]
push edi
push esi
mov ecx, dword [eax + ebx*4 + 4]
mov eax, dword [ecx + 0xc]
push eax
push ecx
push 7
call fcn.004a5600
mov ecx, dword [ebp - 8]
inc ebx
add esp, 0x14
mov esi, eax
cmp ebx, dword [ebp - 0xc]
jb 0x47f9b0
mov ebx, dword [ebp - 0x14]
test bl, 8
je 0x47f9f9
mov eax, dword [ecx + 0x84]
push edi
push esi
mov eax, dword [eax + 0x18]
push eax
push dword [ecx + 0x84]
push 8
call fcn.004a5600
add esp, 0x14
mov esi, eax
test bl, 0x10
mov ebx, dword [ebp - 8]
je 0x47fa1f
mov eax, dword [ebx + 0x88]
push edi
push esi
mov eax, dword [eax + 0x18]
push eax
push dword [ebx + 0x88]
push 9
call fcn.004a5600
add esp, 0x14
mov esi, eax
lea eax, [ebx + 0x60]
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.00454040
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x47fac9
xor ebx, ebx
nop dword [eax]
cmp esi, dword [edi]
jb 0x47fa4e
push esi
mov ecx, edi
call fcn.0044fe50
mov esi, eax
mov ecx, dword [ebp - 0xc]
push ebx
call fcn.004531f0
mov eax, dword [eax]
cdq
mov byte [esi], 0x50
mov ecx, eax
mov byte [esi + 1], cl
test edx, edx
ja 0x47fa75
jb 0x47fa70
cmp ecx, 0x80
jae 0x47fa75
add esi, 2
jmp 0x47fabc
mov al, cl
shrd ecx, edx, 7
or al, 0x80
shr edx, 7
mov byte [esi + 1], al
mov byte [esi + 2], cl
test edx, edx
ja 0x47fa99
jb 0x47fa94
cmp ecx, 0x80
jae 0x47fa99
add esi, 3
jmp 0x47fabc
add esi, 3
nop dword [eax]
or byte [esi - 1], 0x80
shrd ecx, edx, 7
shr edx, 7
mov byte [esi], cl
inc esi
test edx, edx
ja 0x47faa0
jb 0x47fabc
cmp ecx, 0x80
jae 0x47faa0
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x47fa40
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x6c]
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.00454040
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x47fb65
xor ebx, ebx
cmp esi, dword [edi]
jb 0x47faf1
push esi
mov ecx, edi
call fcn.0044fe50
mov esi, eax
mov ecx, dword [ebp - 0xc]
push ebx
call fcn.004531f0
mov eax, dword [eax]
cdq
mov byte [esi], 0x58
mov ecx, eax
mov byte [esi + 1], cl
test edx, edx
ja 0x47fb18
jb 0x47fb13
cmp ecx, 0x80
jae 0x47fb18
add esi, 2
jmp 0x47fb5c
mov al, cl
shrd ecx, edx, 7
or al, 0x80
shr edx, 7
mov byte [esi + 1], al
mov byte [esi + 2], cl
test edx, edx
ja 0x47fb3c
jb 0x47fb37
cmp ecx, 0x80
jae 0x47fb3c
add esi, 3
jmp 0x47fb5c
add esi, 3
nop
or byte [esi - 1], 0x80
shrd ecx, edx, 7
shr edx, 7
mov byte [esi], cl
inc esi
test edx, edx
ja 0x47fb40
jb 0x47fb5c
cmp ecx, 0x80
jae 0x47fb40
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x47fae3
mov ebx, dword [ebp - 8]
test byte [ebp - 0x14], 4
je 0x47fb81
mov eax, dword [ebx + 0x80]
mov ecx, edi
push esi
and eax, 0xfffffffc
push eax
push 0xc
call fcn.0047a270
mov esi, eax
test byte [ebx + 4], 1
je 0x47fbae
mov eax, dword [ebx + 4]
and eax, 0xfffffffc
push edi
add eax, 4
push esi
push eax
call fcn.0049ab50
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af547
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004af547
mov esp, ebp
pop ebp
ret 8