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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
lea esi, [edi + 0x54]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x40]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x2c]
lea eax, [eax + edx*4 + 0x34]
push eax
mov dword [esp + 0x20], eax
call fcn.004036b0
mov dword [esp + 0x40], eax
test eax, eax
jne 0x47b530
mov ecx, dword [esp + 0x3c]
call fcn.00439450
push 0x52e3d4
push 0x52139c
mov edx, eax
call fcn.0043a8a0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
mov ecx, dword [edi + 0x78]
mov ebx, dword [edi + 0x74]
mov ebp, dword [edi + 0x7c]
add ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, 0xd
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
xor edi, edi
add ebx, eax
add ebp, eax
cmp dword [esi + 0x70], edi
jle 0x47b619
mov dword [esp + 0x14], edi
nop
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x24]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x47b582
call fcn.004d06e1
mov esi, dword [esi + 0x24]
add esi, dword [esp + 0x14]
mov edx, dword [esi]
mov dword [ebx], edx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x14]
mov edx, ebp
sub edx, dword [esp + 0x40]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x18], edx
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
push ebp
call fcn.004d4040
add ebp, dword [esi + 0x24]
add esp, 0xc
mov edx, ebp
sub edx, dword [esp + 0x40]
mov dword [ebx + 0x1c], edx
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x20]
push eax
push ecx
push ebp
call fcn.004d4040
mov edx, dword [esi + 0x18]
add ebp, dword [esi + 0x28]
add dword [esp + 0x20], 0x38
mov dword [ebx + 0x20], edx
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0x10], ecx
mov edx, dword [esi + 0x10]
mov dword [ebx + 0x14], edx
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x24], eax
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x28], ecx
mov edx, dword [esi + 0x34]
mov dword [ebx + 0x2c], edx
inc edi
add esp, 0xc
add ebx, 0x30
cmp edi, dword [eax + 0x70]
mov esi, eax
jl 0x47b560
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x48]
mov ebx, dword [ecx]
mov edi, dword [esi + 0x30]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
lea esp, [esp]
mov edx, dword [esi + 0x48]
mov esi, dword [esi + 0x30]
mov dword [esp + 0x2c], edx
test edi, edi
je 0x47b642
cmp edi, esi
je 0x47b64b
call fcn.004d06e1
mov eax, dword [esp + 0x40]
cmp ebx, dword [esp + 0x2c]
je 0x47b7b0
test edi, edi
jne 0x47b770
call fcn.004d06e1
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x47b66e
call fcn.004d06e1
mov eax, dword [ebx + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47b674
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, eax
mov ecx, ebp
sub ecx, dword [esp + 0x40]
movzx esi, ax
mov dword [edx], ecx
mov word [ebp], si
add ebp, 2
test edi, edi
jne 0x47b777
call fcn.004d06e1
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x47b6b4
call fcn.004d06e1
mov eax, dword [ebx + 0xc]
movzx esi, si
push esi
push eax
push ebp
call fcn.004d4040
mov eax, dword [esp + 0x1c]
add ebp, esi
mov ecx, ebp
sub ecx, dword [esp + 0x4c]
add esp, 0xc
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
test edi, edi
jne 0x47b77e
call fcn.004d06e1
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x47b6f4
call fcn.004d06e1
mov edx, dword [ebx + 0x28]
mov eax, dword [edx]
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
test edi, edi
jne 0x47b785
call fcn.004d06e1
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x47b719
call fcn.004d06e1
mov edi, dword [ebx + 0x28]
mov eax, dword [ebx + 0x10]
test esi, esi
je 0x47b727
cmp esi, eax
je 0x47b72c
call fcn.004d06e1
cmp dword [esp + 0x18], edi
je 0x47b78d
mov eax, dword [esp + 0x10]
inc dword [eax + 8]
test esi, esi
jne 0x47b789
call fcn.004d06e1
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esi + 0x18]
jne 0x47b750
call fcn.004d06e1
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov dword [ebp], eax
lea esi, [esp + 0x14]
add ebp, 4
call fcn.0047d280
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
jmp 0x47b704
mov eax, dword [edi]
jmp 0x47b664
mov eax, dword [edi]
jmp 0x47b6aa
mov eax, dword [edi]
jmp 0x47b6ea
mov eax, dword [edi]
jmp 0x47b70f
mov esi, dword [esi]
jmp 0x47b742
add dword [esp + 0x10], 0xc
lea esi, [esp + 0x20]
call fcn.0047ce90
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
jmp 0x47b630
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
push ecx
push edx
mov ebx, eax
mov edi, esi
call fcn.0047b840
test al, al
jne 0x47b827
cmp dword [esi], 0
je 0x47b7dd
mov esi, dword [esi]
add esi, 0x124
cmp dword [esi], 0
jne 0x47b7d0
push 0x128
call fcn.004cf589
mov edi, eax
add esp, 4
test edi, edi
je 0x47b805
mov ecx, edi
call fcn.0043a090
mov dword [edi + 0x124], 0
mov edx, edi
jmp 0x47b807
xor edx, edx
push 0x52e3f4
push 0x52139c
mov dword [esi], edx
call fcn.0043a8a0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret 0x10