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

Disassembly:
sub esp, 0x58
mov eax, 2
push ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
push ebp
push esi
mov ecx, 1
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x44], ecx
test eax, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], 4
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], eax
jne 0x4b6fd2
mov eax, ebx
imul eax, edi
add eax, 0x10
push eax
call fcn.0053ff1e
add esp, 4
mov dword [esp + 0x1c], eax
lea esi, [edi*4]
push esi
call fcn.0053ff1e
push esi
mov dword [esp + 0x1c], eax
call fcn.0053ff1e
lea esi, [ebx*4]
mov ebp, eax
push esi
mov dword [esp + 0x4c], ebp
call fcn.0053ff1e
push esi
mov dword [esp + 0x28], eax
call fcn.0053ff1e
add esp, 0x10
mov dword [esp + 0x70], eax
test edi, edi
jle 0x4b7043
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov eax, ebp
sub edx, ebp
lea esi, [ecx + 3]
mov dword [edx + eax], ecx
mov dword [eax], esi
mov esi, dword [edx + eax]
test esi, esi
jge 0x4b7032
mov dword [edx + eax], 0
cmp dword [eax], edi
jl 0x4b7038
mov dword [eax], edi
inc ecx
add eax, 4
lea esi, [ecx + 1]
cmp esi, edi
jl 0x4b701c
test ebx, ebx
jle 0x4b707d
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x18]
mov esi, eax
or ecx, 0xffffffff
sub edx, esi
lea esi, [ecx + 3]
mov dword [edx + eax], ecx
mov dword [eax], esi
mov esi, dword [edx + eax]
test esi, esi
jge 0x4b706c
mov dword [edx + eax], 0
cmp dword [eax], ebx
jl 0x4b7072
mov dword [eax], ebx
inc ecx
add eax, 4
lea esi, [ecx + 1]
cmp esi, ebx
jl 0x4b7056
test edi, edi
jle 0x4b7190
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov esi, ebp
sub eax, ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edi
xor edi, edi
test ebx, ebx
mov dword [esp + 0x24], edi
jle 0x4b7170
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
sub ecx, ebp
mov dword [esp + 0x30], ecx
jmp 0x4b70c3
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esi]
fld dword [0x555c40]
mov edx, dword [esi + edx]
mov dword [esp + 0x78], 0
cmp edx, eax
jge 0x4b7149
mov ecx, dword [ecx + ebp]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x38], ecx
mov ecx, edx
imul ecx, ebx
mov edi, dword [ebp]
add ecx, esi
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
cmp eax, edi
jge 0x4b7134
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x78]
lea esi, [esp + edx*4 + 0x44]
mov edx, edi
sub edx, eax
add ebx, edx
mov dword [esp + 0x78], ebx
xor edx, edx
add esi, 4
mov dl, byte [ecx + eax]
imul edx, dword [esi - 4]
inc eax
mov dword [esp + 0x3c], edx
fiadd dword [esp + 0x3c]
cmp eax, edi
jl 0x4b7117
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
add ecx, ebx
dec eax
mov dword [esp + 0x20], eax
jne 0x4b70f9
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
fmul dword [0x562b4c]
call fcn.00540a50
mov ecx, dword [esp + 0x10]
inc edi
add ebp, 4
cmp edi, ebx
mov byte [ecx + edi - 1], al
mov dword [esp + 0x24], edi
jl 0x4b70bf
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
add esi, 4
add ecx, ebx
dec eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
jne 0x4b70a1
mov edx, dword [esp + 0x14]
push edx
call fcn.0053feee
push ebp
call fcn.0053feee
mov eax, dword [esp + 0x20]
push eax
call fcn.0053feee
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0053feee
mov eax, dword [esp + 0x2c]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret