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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, ecx
xor eax, eax
push ebp
push esi
xor edx, edx
mov dword [esp + 0x28], ebx
or esi, 0xffffffff
mov dword [esp + 0x10], edx
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
cmp dword [ebx + 0x4528], eax
jbe 0x47e287
lea ebp, [ebx + 0x452c]
lea edi, [ebx + 0x52c]
jmp 0x47dff0
mov dword [esp + 0x1c], ebp
cmp esi, 0xffffffff
je 0x47e066
mov ecx, dword [edi]
sub ecx, eax
mov dword [esp + 0x28], ecx
test ecx, ecx
jle 0x47e066
lea eax, [ecx + esi]
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x145c8], eax
jae 0x47e045
push eax
push dword [ebx + 0x145c4]
call fcn.005097c2
add esp, 8
mov dword [ebx + 0x145c4], eax
test eax, eax
jne 0x47e037
mov ecx, 0x58c304
call fcn.0046db90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x145c8], eax
mov eax, dword [esp + 0x74]
push ecx
mov eax, dword [eax]
add eax, dword [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x145c4]
add eax, esi
push eax
call fcn.00504fb0
mov esi, dword [esp + 0x2c]
add esp, 0xc
push 0x40
push 0
push ebp
call fcn.00505530
mov ecx, dword [esp + 0x80]
add esp, 0xc
mov eax, dword [edi]
mov edx, dword [edi - 4]
mov ecx, dword [ecx]
add ecx, eax
add eax, dword [esp + 0x7c]
and eax, dword [ebx + 0x504]
mov dword [esp + 0x18], ecx
cmp edx, 6
ja case.0x47e096.3
jmp dword [edx*4 + 0x47e6a0]
cmp edx, 2
sete al
movzx eax, al
push eax
mov eax, dword [ebx + 0x16608]
add eax, dword [edi]
push eax
push ebp
push dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.0047fea0
jmp 0x47e106
push eax
push dword [edi + 8]
push ebp
push dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.0047fa90
jmp 0x47e106
push eax
push ebp
push dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.00480190
jmp 0x47e106
push eax
push dword [edi + 8]
push ebp
push dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.0047fda0
jmp 0x47e106
mov eax, dword [ebx + 0x16608]
add eax, dword [edi]
push eax
push ebp
push dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.0047ff90
mov ecx, dword [esp + 0x18]
cmp esi, 0xffffffff
je 0x47e114
add dword [ebp + 0x34], esi
jmp 0x47e119
mov eax, dword [edi]
add dword [ebp + 0x34], eax
mov edx, dword [esp + 0x1c]
add ebp, 0x40
inc dword [esp + 0x14]
cmp dword [edx + 0x3c], ecx
jne 0x47e134
cmp esi, 0xffffffff
je 0x47e1ec
jmp 0x47e18c
cmp esi, 0xffffffff
jne 0x47e18c
mov esi, dword [edi]
test esi, esi
je 0x47e18a
cmp dword [ebx + 0x145c8], esi
jae 0x47e170
push esi
push dword [ebx + 0x145c4]
call fcn.005097c2
add esp, 8
mov dword [ebx + 0x145c4], eax
test eax, eax
jne 0x47e16a
mov ecx, 0x58c304
call fcn.0046db90
mov dword [ebx + 0x145c8], esi
mov eax, dword [esp + 0x74]
push dword [edi]
push dword [eax]
push dword [ebx + 0x145c4]
call fcn.00504fb0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov esi, dword [edi]
mov eax, dword [edx + 0x38]
add eax, esi
mov dword [esp + 0x28], eax
cmp dword [ebx + 0x145c8], eax
jae 0x47e1ce
push eax
push dword [ebx + 0x145c4]
call fcn.005097c2
add esp, 8
mov dword [ebx + 0x145c4], eax
test eax, eax
jne 0x47e1c0
mov ecx, 0x58c304
call fcn.0046db90
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x145c8], eax
push dword [edx + 0x38]
mov eax, dword [ebx + 0x145c4]
push dword [edx + 0x3c]
add eax, esi
push eax
call fcn.00504fb0
mov ecx, dword [esp + 0x28]
add esp, 0xc
add esi, dword [ecx + 0x38]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x24]
add eax, dword [edi]
inc edx
add edi, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edx
cmp edx, dword [ebx + 0x4528]
jb 0x47dff0
cmp esi, 0xffffffff
je 0x47e283
mov edi, dword [esp + 0x78]
mov edi, dword [edi]
sub edi, eax
test edi, edi
jle 0x47e271
lea ebp, [edi + esi]
cmp dword [ebx + 0x145c8], ebp
jae 0x47e252
push ebp
push dword [ebx + 0x145c4]
call fcn.005097c2
add esp, 8
mov dword [ebx + 0x145c4], eax
test eax, eax
jne 0x47e24c
mov ecx, 0x58c304
call fcn.0046db90
mov dword [ebx + 0x145c8], ebp
mov eax, dword [esp + 0x74]
push edi
mov eax, dword [eax]
add eax, dword [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x145c4]
add eax, esi
push eax
call fcn.00504fb0
add esp, 0xc
mov esi, ebp
mov ecx, dword [esp + 0x74]
mov eax, dword [ebx + 0x145c4]
mov dword [ecx], eax
mov eax, dword [esp + 0x78]
mov dword [eax], esi
mov edx, dword [esp + 0x14]
lea ecx, [edx - 1]
xor esi, esi
mov dword [esp + 0x1c], ecx
test ecx, ecx
jle 0x47e357
mov eax, ecx
lea ebx, [ebx]
lea ecx, [esi + 1]
mov edi, esi
cmp ecx, edx
jge 0x47e34e
mov ebp, esi
lea edx, [ebx + 0x4564]
shl ebp, 6
mov eax, ecx
add ebp, 0x452c
shl eax, 6
add ebp, ebx
add edx, eax
mov ebx, dword [ebp + 0x34]
lea ebx, [ebx]
cmp dword [edx - 4], ebx
jne 0x47e2e8
mov eax, dword [edx]
cmp eax, dword [ebp + 0x38]
jne 0x47e2e8
mov edi, ecx
add edx, 0x40
inc ecx
cmp ecx, dword [esp + 0x14]
jl 0x47e2d0
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x24], edi
cmp edi, esi
je 0x47e346
mov eax, edi
sub eax, esi
inc eax
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x47e344
mov ecx, edi
lea edx, [ebx + 0x452c]
shl ecx, 6
add edx, ecx
nop
mov esi, ebp
lea edi, [esp + 0x30]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov esi, edx
mov edi, ebp
mov ecx, 0x10
add ebp, 0x40
rep movsd dword es:[edi], dword [esi]
mov edi, edx
lea esi, [esp + 0x30]
mov ecx, 0x10
sub edx, 0x40
rep movsd dword es:[edi], dword [esi]
sub eax, 1
jne 0x47e310
mov edi, dword [esp + 0x24]
mov esi, edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x47e2a0
test edx, edx
jle 0x47e694
lea ebp, [ebx + 0x145cc]
lea esi, [ebx + 0x452c]
jmp 0x47e370
mov edi, dword [ebx + 0x145ac]
xor eax, eax
mov byte [esp + 0x13], 1
test edi, edi
jle 0x47e3a5
mov edx, dword [esi]
lea ecx, [ebx + 0x1452c]
lea esp, [esp]
cmp dword [ecx], edx
je 0x47e39e
inc eax
add ecx, 4
cmp eax, edi
jl 0x47e390
jmp 0x47e3a5
mov edi, eax
mov byte [esp + 0x13], 0
mov ecx, ebp
call fcn.00487450
xor al, al
mov byte [esp + 0x12], al
cmp byte [ebx + 0x145b4], al
je 0x47e3f9
push 0
push 2
mov ecx, ebp
mov byte [esp + 0x1a], 0x80
call fcn.004876e0
push 0
push 4
mov ecx, ebp
call fcn.004876e0
mov byte [esp + 0x13], 1
xor edi, edi
mov dword [ebx + 0x145ac], 0
mov dword [ebx + 0x145b0], 0
mov byte [ebx + 0x145b4], 0
jmp 0x47e400
cmp byte [esp + 0x13], 0
je 0x47e419
mov ecx, dword [ebx + 0x145ac]
mov eax, dword [esi]
mov dword [ebx + ecx*4 + 0x1452c], eax
inc dword [ebx + 0x145ac]
mov al, byte [esp + 0x12]
cmp edi, dword [ebx + 0x145b0]
je 0x47e432
or al, 0x80
mov ecx, ebx
mov byte [esp + 0x12], al
lea eax, [edi + 1]
push eax
call fcn.004833a0
mov dword [ebx + 0x145b0], edi
mov eax, dword [esi + 0x34]
sub eax, dword [ebx + 0x165fc]
add eax, dword [ebx + 0x50c]
and eax, dword [ebx + 0x504]
cmp eax, 0x102
jb 0x47e45e
or byte [esp + 0x12], 0x40
sub eax, 0x102
push eax
mov ecx, ebx
call fcn.004833a0
cmp byte [esp + 0x13], 0
jne 0x47e479
mov eax, dword [ebx + edi*4 + 0x1456c]
cmp eax, dword [esi + 0x38]
je 0x47e488
push dword [esi + 0x38]
or byte [esp + 0x16], 0x20
mov ecx, ebx
call fcn.004833a0
mov eax, dword [esi + 0x38]
mov dword [ebx + edi*4 + 0x1456c], eax
mov al, byte [esi + 4]
test al, al
je 0x47e4e6
or byte [esp + 0x12], 0x10
mov ecx, ebp
movzx eax, al
push eax
push 7
call fcn.004876e0
mov eax, 1
lea edi, [esi + 8]
rol eax, 0
mov ebp, 7
mov dword [esp + 0x24], eax
nop
test byte [esi + 4], al
je 0x47e4d2
push dword [edi]
mov ecx, ebx
call fcn.004833a0
mov eax, dword [esp + 0x24]
rol eax, 1
add edi, 4
mov dword [esp + 0x24], eax
sub ebp, 1
jne 0x47e4c0
lea ebp, [ebx + 0x145cc]
cmp byte [esp + 0x13], 0
je 0x47e517
push dword [esi + 0x28]
mov ecx, ebx
call fcn.004833a0
xor edi, edi
cmp dword [esi + 0x28], edi
jle 0x47e517
mov edi, edi
mov eax, dword [esi + 0x24]
mov ecx, ebp
movzx eax, byte [eax + edi]
push eax
push 8
call fcn.004876e0
inc edi
cmp edi, dword [esi + 0x28]
jl 0x47e500
mov eax, dword [esi + 0x30]
test eax, eax
je 0x47e549
or byte [esp + 0x12], 8
mov ecx, ebx
push eax
call fcn.004833a0
xor edi, edi
cmp dword [esi + 0x30], edi
jle 0x47e549
mov eax, dword [esi + 0x2c]
mov ecx, ebp
movzx eax, byte [eax + edi]
push eax
push 8
call fcn.004876e0
inc edi
cmp edi, dword [esi + 0x30]
jl 0x47e532
mov ecx, ebp
call fcn.00487370
mov eax, dword [ebx + 0x145e0]
mov dword [esp + 0x18], eax
cmp eax, 6
ja 0x47e564
lea ecx, [eax - 1]
jmp 0x47e56f
cmp eax, 0x106
seta cl
add cl, 6
or cl, byte [esp + 0x12]
cmp dword [ebx + 0x51c], 2
mov byte [esp + 0x13], cl
jne 0x47e60b
push dword [ebx + 0x1b208]
lea ebp, [ebx + 0x16614]
mov ecx, ebp
call fcn.004a2310
push 3
mov ecx, ebp
call fcn.004a2310
movzx eax, byte [esp + 0x13]
mov ecx, ebp
push eax
call fcn.004a2310
mov eax, dword [esp + 0x18]
cmp eax, 6
jbe 0x47e5e0
mov ecx, ebp
cmp eax, 0x106
ja 0x47e5c4
add eax, 0xfffffff9
jmp 0x47e5d6
shr eax, 8
push eax
call fcn.004a2310
mov edx, dword [esp + 0x18]
mov ecx, ebp
movzx eax, dl
push eax
call fcn.004a2310
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
je 0x47e680
lea ebx, [ebx]
mov eax, dword [ebx + 0x145dc]
mov ecx, ebp
movzx eax, byte [eax + edi]
push eax
call fcn.004a2310
inc edi
cmp edi, dword [esp + 0x18]
jb 0x47e5f0
jmp 0x47e680
add eax, 0x14
lea edi, [ebx + 0x1b340]
push eax
mov ecx, edi
call fcn.00464350
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 8]
mov dl, byte [esp + 0x13]
mov byte [eax + ecx*8 + 1], dl
mov edx, dword [esp + 0x18]
mov byte [eax + ecx*8], 7
mov dword [eax + ecx*8 + 4], edx
inc dword [edi + 0x10]
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0xc]
jb 0x47e648
mov ecx, edi
call fcn.00463f90
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jbe 0x47e680
mov eax, dword [ebx + 0x145dc]
mov ecx, dword [edi + 0x10]
mov dl, byte [eax + ebp]
mov eax, dword [edi + 8]
mov byte [eax + ecx*8], 8
mov byte [eax + ecx*8 + 4], dl
inc dword [edi + 0x10]
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0xc]
jb 0x47e679
mov ecx, edi
call fcn.00463f90
inc ebp
cmp ebp, dword [esp + 0x18]
jb 0x47e650
add esi, 0x40
lea ebp, [ebx + 0x145cc]
sub dword [esp + 0x14], 1
jne 0x47e370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc