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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x1c
mov eax, dword [esp + 0x30]
lea ebx, [eax + eax*4]
mov esi, dword [0x1021ede0]
mov ecx, dword [esi + ebx*4]
test ecx, ecx
jle 0x1018cf5a
mov edx, dword [esp + 0x34]
mov eax, dword [esi + ebx*4 + 8]
xor ebp, ebp
mov edi, dword [eax + ebp*4]
cmp edi, edx
je 0x1018cf5c
cmp edi, 0xffffffff
je 0x1018d3a3
inc ebp
cmp ebp, ecx
jl 0x1018cf45
xor ebp, ebp
mov eax, dword [esi + ebx*4 + 4]
mov ecx, dword [eax + ebp*4]
test ecx, ecx
je 0x1018cf77
mov edi, dword [esi + ebx*4]
xor edx, edx
mov eax, 0x5dc
idiv edi
cmp ecx, eax
jge 0x1018cf97
mov eax, dword [esi + ebx*4 + 0x10]
lea ecx, [ecx*4 + 4]
push ecx
push dword [eax + ebp*4]
call fcn.101bcb76
add esp, 8
mov edx, dword [esi + ebx*4 + 0x10]
mov dword [edx + ebp*4], eax
jmp 0x1018cfbb
dec ecx
push ecx
push 0
call fcn.100ed700
add esp, 8
mov ecx, eax
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], esi
mov edx, ebp
call fcn.1018da70
push 0x50
call fcn.101bcde0
pop ecx
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x38]
mov edi, dword [0x1021ede0]
mov esi, dword [edi + ebx*4 + 0x10]
mov edi, dword [edi + ebx*4 + 4]
mov edi, dword [edi + ebp*4]
mov esi, dword [esi + ebp*4]
mov dword [esp + 0x14], ebp
mov dword [esi + edi*4], eax
mov eax, dword [0x1021ede0]
mov esi, dword [eax + ebx*4 + 0x10]
mov eax, dword [eax + ebx*4 + 4]
mov edi, dword [eax + ebp*4]
mov esi, dword [esi + ebp*4]
mov esi, dword [esi + edi*4]
mov edi, dword [esp + 0x54]
movsd qword [esi], xmm0
mov dword [esp + 0x10], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0x48], edx
mov edx, dword [esp + 0x84]
mov dword [esi + 0x4c], edx
xor edx, edx
lea eax, [edi + 1]
mov ebp, eax
mov ebx, edx
mov ecx, dword [ebx*4 + 0x101f5cc0]
imul ecx, ebp
push ecx
call fcn.101bcde0
pop ecx
mov dword [esi + ebx*4 + 0xc], eax
inc ebx
cmp ebx, 4
jl 0x1018d02a
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
lea eax, [edi*4 + 4]
mov dword [esp + 0x18], eax
push eax
push dword [esp + 0x48]
push dword [esi + 0xc]
call fcn.101d7590
mov eax, edi
shl eax, 4
add eax, 0x10
push eax
push dword [esp + 0x58]
push dword [esi + 0x10]
call fcn.101d7590
lea eax, [edi*8 + 8]
push eax
push dword [esp + 0x68]
push dword [esi + 0x14]
call fcn.101d7590
push dword [esp + 0x3c]
push dword [esp + 0x78]
push dword [esi + 0x18]
call fcn.101d7590
add esp, 0x30
cmp dword [esp + 0x88], 0
mov dword [esi + 0x1c], edi
je 0x1018d0f9
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x2c], edi
mov edi, dword [esp + 0x74]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x78]
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
jmp 0x1018d383
mov eax, dword [esp + 0x7c]
lea edi, [eax*4]
push edi
call fcn.101bcde0
push edi
mov dword [esi + 0x20], eax
call fcn.101bcde0
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x84]
lea edx, [eax*8]
push edx
call fcn.101bcde0
add esp, 0xc
cmp dword [esp + 0x64], 0
mov dword [esi + 0x28], eax
je 0x1018d143
push edi
call fcn.101bcde0
pop ecx
mov dword [esi + 0x2c], eax
jmp 0x1018d14a
mov dword [esi + 0x2c], 0
cmp dword [esp + 0x68], 0
je 0x1018d195
push edi
call fcn.101bcde0
push edi
mov dword [esi + 0x30], eax
call fcn.101bcde0
push edi
mov dword [esi + 0x34], eax
call fcn.101bcde0
add esp, 0xc
cmp dword [esp + 0x74], 0
mov dword [esi + 0x38], eax
je 0x1018d182
push edi
call fcn.101bcde0
pop ecx
mov dword [esi + 0x3c], eax
jmp 0x1018d189
mov dword [esi + 0x3c], 0
push edi
call fcn.101bcde0
pop ecx
mov dword [esi + 0x40], eax
jmp 0x1018d1a6
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x44], eax
test eax, eax
jle 0x1018d383
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x10], ebx
xor edi, edi
mov ebx, dword [esp + 0x78]
mov eax, dword [ebp + edi*4]
shl eax, 4
push eax
call fcn.101bcde0
mov edx, dword [esi + 0x20]
mov dword [edx + edi*4], eax
mov edx, dword [esi + 0x20]
mov eax, dword [ebp + edi*4]
shl eax, 4
push eax
mov ecx, dword [esp + 0x60]
push dword [ecx + edi*4]
push dword [edx + edi*4]
call fcn.101d7590
add esp, 0x10
cmp dword [esp + 0x64], 0
mov ecx, dword [esp + 0x60]
mov edx, dword [esi + 0x24]
mov eax, dword [ebp + edi*4]
mov dword [edx + edi*4], eax
mov eax, dword [esi + 0x28]
movsd xmm0, qword [ecx + edi*8]
movsd qword [eax + edi*8], xmm0
je 0x1018d243
push 0x10
call fcn.101bcde0
pop ecx
mov edx, dword [esi + 0x2c]
mov dword [edx + edi*4], eax
mov eax, dword [esp + 0x64]
mov edx, dword [esi + 0x2c]
mov ecx, dword [eax + edi*4]
movsd xmm0, qword [ecx]
movsd qword [edx], xmm0
movsd xmm1, qword [ecx + 8]
movsd qword [edx + 8], xmm1
cmp dword [esp + 0x68], 0
je 0x1018d370
mov eax, dword [ebx + edi*4]
shl eax, 2
push eax
call fcn.101bcde0
mov edx, dword [esi + 0x30]
mov dword [edx + edi*4], eax
mov eax, dword [ebx + edi*4]
shl eax, 2
push eax
call fcn.101bcde0
mov edx, dword [esi + 0x34]
mov dword [edx + edi*4], eax
mov eax, dword [ebx + edi*4]
shl eax, 3
push eax
call fcn.101bcde0
add esp, 0xc
cmp dword [esp + 0x74], 0
mov edx, dword [esi + 0x38]
mov dword [edx + edi*4], eax
je 0x1018d2a1
mov eax, dword [ebx + edi*4]
shl eax, 2
push eax
call fcn.101bcde0
pop ecx
mov edx, dword [esi + 0x3c]
mov dword [edx + edi*4], eax
mov edx, dword [esi + 0x40]
mov eax, dword [ebx + edi*4]
mov dword [edx + edi*4], eax
cmp dword [ebx + edi*4], 0
jle 0x1018d370
mov ebx, dword [esp + 0x6c]
xor eax, eax
mov ebp, eax
mov edx, dword [ebx + edi*4]
mov ecx, dword [edx + ebp*4]
shl ecx, 4
push ecx
call fcn.101bcde0
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx + edi*4]
mov dword [edx + ebp*4], eax
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx + edi*4]
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebx + edi*4]
mov ecx, dword [ecx + ebp*4]
shl ecx, 4
push ecx
push dword [eax + ebp*4]
push dword [edx + ebp*4]
call fcn.101d7590
add esp, 0x10
cmp dword [esp + 0x74], 0
mov ecx, dword [ebx + edi*4]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + edi*4]
mov edx, dword [ecx + ebp*4]
mov dword [eax + ebp*4], edx
mov edx, dword [esp + 0x70]
mov edx, dword [edx + edi*4]
mov ecx, dword [esi + 0x38]
mov ecx, dword [ecx + edi*4]
movsd xmm0, qword [edx + ebp*8]
movsd qword [ecx + ebp*8], xmm0
je 0x1018d359
push 0x10
call fcn.101bcde0
pop ecx
mov edx, dword [esi + 0x3c]
mov ecx, dword [edx + edi*4]
mov dword [ecx + ebp*4], eax
mov edx, dword [esi + 0x3c]
mov edx, dword [edx + edi*4]
mov ecx, dword [edx + ebp*4]
mov edx, dword [esp + 0x74]
mov edx, dword [edx + edi*4]
movsd xmm0, qword [edx]
movsd qword [ecx], xmm0
movsd xmm1, qword [edx + 8]
movsd qword [ecx + 8], xmm1
mov edx, dword [esp + 0x78]
inc ebp
cmp ebp, dword [edx + edi*4]
jl 0x1018d2bc
nop
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x78]
inc edi
cmp edi, dword [esp + 0x7c]
jl 0x1018d1c7
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov edx, dword [0x1021ede0]
mov ecx, dword [edx + ebx*4 + 4]
inc dword [ecx + ebp*4]
mov eax, dword [0x1021ede0]
inc dword [eax + ebx*4 + 0xc]
xor eax, eax
add esp, 0x1c
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [eax + ebp*4], edx
mov esi, dword [0x1021ede0]
jmp 0x1018cf5c