Function at 0x466cc0
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 0x466d22
mov eax, ebx
imul eax, edi
add eax, 0x10
push eax
call fcn.004ccca2
add esp, 4
mov dword [esp + 0x1c], eax
lea esi, [edi*4]
push esi
call fcn.004ccca2
push esi
mov dword [esp + 0x1c], eax
call fcn.004ccca2
lea esi, [ebx*4]
mov ebp, eax
push esi
mov dword [esp + 0x4c], ebp
call fcn.004ccca2
push esi
mov dword [esp + 0x28], eax
call fcn.004ccca2
add esp, 0x10
mov dword [esp + 0x70], eax
test edi, edi
jle 0x466d93
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 0x466d82
mov dword [edx + eax], 0
cmp dword [eax], edi
jl 0x466d88
mov dword [eax], edi
inc ecx
add eax, 4
lea esi, [ecx + 1]
cmp esi, edi
jl 0x466d6c
test ebx, ebx
jle 0x466dcd
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 0x466dbc
mov dword [edx + eax], 0
cmp dword [eax], ebx
jl 0x466dc2
mov dword [eax], ebx
inc ecx
add eax, 4
lea esi, [ecx + 1]
cmp esi, ebx
jl 0x466da6
test edi, edi
jle 0x466ee0
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 0x466ec0
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
sub ecx, ebp
mov dword [esp + 0x30], ecx
jmp 0x466e13
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esi]
fld dword [0x4dca58]
mov edx, dword [esi + edx]
mov dword [esp + 0x78], 0
cmp edx, eax
jge 0x466e99
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 0x466e84
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 0x466e67
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
add ecx, ebx
dec eax
mov dword [esp + 0x20], eax
jne 0x466e49
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
fmul dword [0x4e3750]
call fcn.004cd7a0
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 0x466e0f
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 0x466df1
mov edx, dword [esp + 0x14]
push edx
call fcn.004ccb34
push ebp
call fcn.004ccb34
mov eax, dword [esp + 0x20]
push eax
call fcn.004ccb34
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004ccb34
mov eax, dword [esp + 0x2c]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret