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

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
push edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
call fcn.0043d720
mov ecx, dword [ebx + 0x3f8]
sub ecx, dword [ebx + 0x4e4]
mov esi, dword [ebx + 0x3f0]
mov edx, dword [ebx + 0x3f4]
mov eax, dword [ebx + 0x3fc]
add esi, dword [ebx + 0x4dc]
add edx, dword [ebx + 0x4e0]
sub eax, dword [ebx + 0x4e8]
mov dword [esp + 0x78], ecx
mov ecx, dword [ebx + 0x4f4]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], eax
je 0x47f046
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
call edx
test al, al
je 0x47f046
mov ecx, dword [ebx + 0x4f4]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
call edx
sub dword [esp + 0x78], eax
mov ecx, dword [ebx + 0x4f8]
cmp ecx, ebp
je 0x47f072
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
call edx
test al, al
je 0x47f072
mov ecx, dword [ebx + 0x4f8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe8]
call edx
sub dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x4cc]
cmp eax, ebp
je 0x47f089
mov ecx, dword [ebx + 0x4d0]
sub ecx, eax
sar ecx, 2
jne 0x47f090
push ebp
push ebp
jmp 0x47f35b
mov ecx, dword [ebx + 0x4f4]
cmp ecx, ebp
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x6c], edi
je 0x47f0d0
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
call edx
test al, al
je 0x47f0d0
mov eax, dword [ebx + 0x4f4]
sub esi, dword [eax + 0x4d0]
mov dword [esp + 0x14], esi
mov ecx, dword [ebx + 0x4f8]
cmp ecx, ebp
je 0x47f0f8
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
test al, al
je 0x47f0f8
mov ecx, dword [ebx + 0x4f8]
sub edi, dword [ecx + 0x4d0]
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
mov esi, dword [esp + 0x7c]
sub esi, dword [esp + 0x74]
mov ecx, dword [ebx + 0x4f8]
cmp ecx, ebp
mov edi, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
je 0x47f142
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
test al, al
je 0x47f142
mov ecx, dword [ebx + 0x4f8]
add edi, dword [ecx + 0x4cc]
mov dword [esp + 0x40], edi
mov ecx, dword [ebx + 0x4f4]
cmp ecx, ebp
je 0x47f16a
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
test al, al
je 0x47f16a
mov ecx, dword [ebx + 0x4f4]
add esi, dword [ecx + 0x4cc]
mov dword [esp + 0x44], esi
xor esi, esi
mov ecx, dword [ebx + 0x4cc]
test ecx, ecx
mov dword [esp + 0x18], esi
je 0x47f351
mov eax, dword [ebx + 0x4d0]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x47f351
test ecx, ecx
je 0x47f1a4
mov eax, dword [ebx + 0x4d0]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x47f1a9
call fcn.004ac22f
mov edx, dword [ebx + 0x4cc]
mov ebp, dword [edx + esi*4]
mov eax, dword [ebp]
mov edx, dword [eax + 0xd0]
mov ecx, ebp
call edx
test al, al
je 0x47f345
mov eax, dword [ebp]
mov edx, dword [eax + 0x134]
mov ecx, ebp
call edx
test al, al
jne 0x47f333
mov eax, dword [ebp]
mov edx, dword [eax + 0x144]
mov ecx, ebp
call edx
test al, al
jne 0x47f333
mov eax, dword [ebp]
mov edx, dword [eax + 0x13c]
mov ecx, ebp
call edx
test al, al
jne 0x47f333
mov eax, dword [ebp]
mov edx, dword [eax + 0x98]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [ebp]
push ecx
push edx
mov edx, dword [eax + 0xa0]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call edx
mov edx, dword [esp + 0x38]
test edx, edx
jne 0x47f246
mov edx, edi
sub edx, dword [esp + 0x50]
mov dword [esp + 0x38], edx
mov edi, dword [esp + 0x3c]
test edi, edi
mov ecx, dword [esp + 0x4c]
jne 0x47f260
mov edi, dword [esp + 0x44]
sub edi, ecx
sub edi, dword [esp + 0x54]
mov dword [esp + 0x3c], edi
test byte [ebp + 0x324], 0x10
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
je 0x47f288
mov eax, dword [esp + 0x30]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x6c], eax
test byte [ebp + 0x324], 0x20
je 0x47f2a0
mov eax, dword [esp + 0x34]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x6c]
add eax, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
add edx, esi
add esi, eax
add esi, dword [esp + 0x6c]
add edi, ecx
mov ecx, dword [esp + 0x5c]
add edi, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov eax, dword [ebp]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xc4]
mov ecx, ebp
call edx
sub esi, dword [esp + 0x58]
cmp dword [esp + 0x20], esi
jg 0x47f2f7
mov dword [esp + 0x20], esi
sub edi, dword [esp + 0x5c]
cmp dword [esp + 0x1c], edi
jg 0x47f305
mov dword [esp + 0x1c], edi
mov eax, dword [ebp + 0x324]
test al, 0x10
je 0x47f317
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x6c], ecx
test al, 0x20
mov esi, dword [esp + 0x18]
je 0x47f345
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x14], edx
add esi, 1
jmp 0x47f16c
mov eax, dword [ebx]
mov edx, dword [eax + 0x2bc]
lea ecx, [esp + 0x70]
push ecx
push ebp
mov ecx, ebx
call edx
mov edi, dword [esp + 0x40]
add esi, 1
jmp 0x47f16c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x14