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

Disassembly:
sub esp, 0x70
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x84]
mov eax, ebp
sub eax, ebx
sar eax, 4
push esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push edi
lea eax, [ebp - 0x10]
shl esi, 4
push eax
add esi, ebx
push esi
push ebx
call fcn.0047e1d0
add esp, 0xc
mov ecx, esi
lea edi, [esi + 0x10]
cmp ebx, esi
jae 0x47e2da
add esi, 0xfffffff8
nop
mov eax, dword [esi]
mov ebp, dword [esi + 0x10]
cmp eax, ebp
jae 0x47e2b0
cmp ebp, dword [esi + 4]
jb 0x47e2b7
cmp eax, ebp
setb dl
test dl, dl
jne 0x47e2d3
cmp ebp, eax
jae 0x47e2c2
cmp eax, dword [esi + 0x14]
jb 0x47e2c9
cmp ebp, eax
setb al
test al, al
jne 0x47e2d3
sub ecx, 0x10
sub esi, 0x10
cmp ebx, ecx
jb 0x47e2a0
mov ebp, dword [esp + 0x8c]
cmp edi, ebp
jae 0x47e30f
mov esi, dword [ecx + 8]
mov eax, dword [edi + 8]
cmp eax, esi
jae 0x47e2ef
cmp esi, dword [edi + 0xc]
jb 0x47e2f6
cmp eax, esi
setb dl
test dl, dl
jne 0x47e30f
cmp esi, eax
jae 0x47e301
cmp eax, dword [ecx + 0xc]
jb 0x47e308
cmp esi, eax
setb al
test al, al
jne 0x47e30f
add edi, 0x10
cmp edi, ebp
jb 0x47e2e1
mov eax, edi
mov ebp, ecx
cmp eax, dword [esp + 0x8c]
jae 0x47e39f
mov esi, dword [ecx + 8]
mov edx, dword [eax + 8]
cmp esi, edx
jae 0x47e331
cmp edx, dword [ecx + 0xc]
jb 0x47e338
cmp esi, edx
setb bl
test bl, bl
jne 0x47e393
cmp edx, esi
jae 0x47e343
cmp esi, dword [eax + 0xc]
jb 0x47e34a
cmp edx, esi
setb dl
test dl, dl
jne 0x47e39f
mov edx, edi
mov ebx, dword [edx + 4]
mov esi, dword [edx]
mov dword [esp + 0x24], ebx
mov ebx, dword [edx + 8]
mov dword [esp + 0x28], ebx
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x2c], ebx
mov ebx, dword [eax]
mov dword [edx], ebx
mov ebx, dword [eax + 4]
mov dword [edx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [edx + 8], ebx
mov ebx, dword [eax + 0xc]
mov dword [edx + 0xc], ebx
mov edx, dword [esp + 0x24]
mov dword [eax], esi
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2c]
add edi, 0x10
mov dword [eax + 0xc], edx
add eax, 0x10
cmp eax, dword [esp + 0x8c]
jb 0x47e320
cmp ebp, dword [esp + 0x88]
jbe 0x47e43e
lea esi, [ebp - 8]
nop
mov edx, dword [esi]
mov ebx, dword [ecx + 8]
cmp edx, ebx
jae 0x47e3c0
cmp ebx, dword [esi + 4]
jb 0x47e3c7
cmp edx, ebx
setb bl
test bl, bl
jne 0x47e424
mov ebx, dword [ecx + 8]
cmp ebx, edx
jae 0x47e3d5
cmp edx, dword [ecx + 0xc]
jb 0x47e3dc
cmp ebx, edx
setb dl
test dl, dl
jne 0x47e437
mov ebx, dword [ecx - 0xc]
mov edx, dword [ecx - 0x10]
sub ecx, 0x10
mov dword [esp + 0x34], ebx
mov ebx, dword [ecx + 8]
mov dword [esp + 0x38], ebx
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esi - 8]
mov dword [ecx], ebx
mov ebx, dword [esi - 4]
mov dword [ecx + 4], ebx
mov ebx, dword [esi]
mov dword [ecx + 8], ebx
mov ebx, dword [esi + 4]
mov dword [ecx + 0xc], ebx
mov dword [esi - 8], edx
mov edx, dword [esp + 0x34]
mov dword [esi - 4], edx
mov edx, dword [esp + 0x38]
mov dword [esi], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 4], edx
sub ebp, 0x10
sub esi, 0x10
cmp dword [esp + 0x88], ebp
jb 0x47e3b0
cmp ebp, dword [esp + 0x88]
jne 0x47e4ef
cmp eax, dword [esp + 0x8c]
je 0x47e5ce
cmp edi, eax
je 0x47e491
mov ebx, dword [ecx + 8]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x48], ebx
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x4c], ebx
mov ebx, dword [edi]
mov dword [ecx], ebx
mov ebx, dword [edi + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [edi + 8]
mov dword [ecx + 8], ebx
mov ebx, dword [edi + 0xc]
mov dword [ecx + 0xc], ebx
mov dword [edi], edx
mov edx, dword [esp + 0x48]
mov dword [edi + 4], esi
mov dword [edi + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [edi + 0xc], edx
mov esi, ecx
mov ebx, dword [esi]
mov dword [esp + 0x10], ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0x14], ebx
mov ebx, dword [esi + 8]
mov edx, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x1c], ebx
mov ebx, dword [edx]
mov dword [esi], ebx
mov ebx, dword [edx + 4]
mov dword [esi + 4], ebx
mov ebx, dword [edx + 8]
mov dword [esi + 8], ebx
mov ebx, dword [edx + 0xc]
mov dword [esi + 0xc], ebx
mov esi, dword [esp + 0x10]
mov dword [edx], esi
mov esi, dword [esp + 0x14]
mov dword [edx + 4], esi
mov esi, dword [esp + 0x18]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x1c]
add edi, 0x10
add ecx, 0x10
add eax, 0x10
mov dword [edx + 0xc], esi
jmp 0x47e313
sub ebp, 0x10
cmp eax, dword [esp + 0x8c]
jne 0x47e588
sub ecx, 0x10
cmp ebp, ecx
je 0x47e544
mov ebx, dword [ebp + 8]
mov edx, dword [ebp]
mov esi, dword [ebp + 4]
mov dword [esp + 0x58], ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x5c], ebx
mov ebx, dword [ecx]
mov dword [ebp], ebx
mov ebx, dword [ecx + 4]
mov dword [ebp + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [ebp + 8], ebx
mov ebx, dword [ecx + 0xc]
mov dword [ebp + 0xc], ebx
mov dword [ecx], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 4], esi
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0xc], edx
mov ebx, dword [ecx + 8]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
sub edi, 0x10
mov dword [esp + 0x68], ebx
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x6c], ebx
mov ebx, dword [edi]
mov dword [ecx], ebx
mov ebx, dword [edi + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [edi + 8]
mov dword [ecx + 8], ebx
mov ebx, dword [edi + 0xc]
mov dword [ecx + 0xc], ebx
mov dword [edi], edx
mov edx, dword [esp + 0x68]
mov dword [edi + 4], esi
mov dword [edi + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [edi + 0xc], edx
jmp 0x47e313
mov ebx, dword [eax + 8]
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x78], ebx
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ebx
mov ebx, dword [ebp]
mov dword [eax], ebx
mov ebx, dword [ebp + 4]
mov dword [eax + 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + 8], ebx
mov ebx, dword [ebp + 0xc]
mov dword [eax + 0xc], ebx
mov dword [ebp], edx
mov edx, dword [esp + 0x78]
mov dword [ebp + 4], esi
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x7c]
mov dword [ebp + 0xc], edx
add eax, 0x10
jmp 0x47e313
mov eax, dword [esp + 0x84]
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x70
ret