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

Disassembly:
sub esp, 0x4bc
push esi
push edi
push 0
mov esi, ecx
mov ecx, dword [0x2209764]
mov edx, dword [ecx]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x54]
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push ecx
call dword [edx + 0x2c]
push 1
mov edi, eax
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 0x16
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 2
push 1
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 2
push 2
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 2
push 4
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 2
push 5
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 1
push 0x1b
push eax
call dword [edx + 0xe4]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 1
push 0xf
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 5
push 0x13
push eax
call dword [edx + 0xe4]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 6
push 0x14
push eax
call dword [ecx + 0xe4]
test edi, edi
jl 0x582269
mov edi, dword [esi + 0xc]
push ebx
lea edx, [edi + 1]
xor ebx, ebx
xor eax, eax
cmp edx, 4
push ebp
jl 0x581f38
mov ecx, dword [esi + 0x68]
mov edx, dword [esi + 0x70]
mov ecx, dword [ecx]
add edx, 8
lea ebp, [edi - 3]
add ecx, 0xc
fld dword [ecx - 4]
add eax, 4
fsub dword [edx - 8]
add ecx, 0x140
add edx, 0xa0
cmp eax, ebp
fstp dword [esp + eax*4 + 0xc]
fld dword [ecx - 0x140]
fsub dword [edx - 0xa4]
fstp dword [esp + eax*4 + 0x19c]
fld dword [ecx - 0x13c]
fsub dword [edx - 0xa0]
fstp dword [esp + eax*4 + 0x32c]
fld dword [ecx - 0xf4]
fsub dword [edx - 0x80]
fstp dword [esp + eax*4 + 0x10]
fld dword [ecx - 0xf0]
fsub dword [edx - 0x7c]
fstp dword [esp + eax*4 + 0x1a0]
fld dword [ecx - 0xec]
fsub dword [edx - 0x78]
fstp dword [esp + eax*4 + 0x330]
fld dword [ecx - 0xa4]
fsub dword [edx - 0x58]
fstp dword [esp + eax*4 + 0x14]
fld dword [ecx - 0xa0]
fsub dword [edx - 0x54]
fstp dword [esp + eax*4 + 0x1a4]
fld dword [ecx - 0x9c]
fsub dword [edx - 0x50]
fstp dword [esp + eax*4 + 0x334]
fld dword [ecx - 0x54]
fsub dword [edx - 0x30]
fstp dword [esp + eax*4 + 0x18]
fld dword [ecx - 0x50]
fsub dword [edx - 0x2c]
fstp dword [esp + eax*4 + 0x1a8]
fld dword [ecx - 0x4c]
fsub dword [edx - 0x28]
fstp dword [esp + eax*4 + 0x338]
jle 0x581e73
cmp eax, edi
jg 0x581f82
mov ecx, dword [esi + 0x70]
lea edx, [eax + eax*4]
lea edx, [ecx + edx*8]
mov ecx, dword [esi + 0x68]
mov ecx, dword [ecx]
lea ebp, [eax + eax*4]
shl ebp, 4
lea ecx, [ecx + ebp + 0xc]
fld dword [ecx - 4]
inc eax
fsub dword [edx]
add ecx, 0x50
add edx, 0x28
cmp eax, edi
fstp dword [esp + eax*4 + 0x18]
fld dword [ecx - 0x50]
fsub dword [edx - 0x24]
fstp dword [esp + eax*4 + 0x1a8]
fld dword [ecx - 0x4c]
fsub dword [edx - 0x20]
fstp dword [esp + eax*4 + 0x338]
jle 0x581f54
mov eax, dword [esi + 8]
test eax, eax
mov dword [esp + 0x18], 0
jl 0x58203b
xor edx, edx
test edi, edi
jl 0x582027
lea eax, [ebx + ebx*2]
lea ecx, [ebx + ebx*4]
shl eax, 3
shl ecx, 3
jmp 0x581fb0
mov edi, dword [esi + 0x70]
fld dword [ecx + edi]
mov edi, dword [esp + 0x10]
fadd dword [esp + edx*4 + 0x1c]
inc ebx
add ecx, 0x28
add eax, 0x18
fstp dword [eax + edi - 0x18]
mov edi, dword [esi + 0x70]
fld dword [ecx + edi - 0x24]
mov edi, dword [esp + 0x10]
fadd dword [esp + edx*4 + 0x1ac]
inc edx
fstp dword [eax + edi - 0x14]
mov edi, dword [esi + 0x70]
fld dword [ecx + edi - 0x20]
mov edi, dword [esp + 0x10]
fadd dword [esp + edx*4 + 0x338]
fstp dword [eax + edi - 0x10]
mov edi, dword [esi + 0x70]
mov edi, dword [ecx + edi - 8]
mov ebp, dword [esp + 0x10]
mov dword [eax + ebp - 8], edi
mov edi, dword [esi + 0x70]
mov edi, dword [ecx + edi - 4]
mov ebp, dword [esp + 0x10]
mov dword [eax + ebp - 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + edi - 0xc], 0xffffffff
mov edi, dword [esi + 0xc]
cmp edx, edi
jle 0x581fb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jle 0x581f95
mov eax, dword [esp + 0x4d0]
test eax, eax
je 0x5821bf
mov ebx, dword [esi + 0x28]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x20]
sub edx, ebx
mov edi, dword [esi + 0x24]
mov ebp, dword [esi + 0x1c]
inc ecx
imul edx, ecx
sub edx, edi
add edx, ebp
mov edi, dword [esp + 0x10]
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
fld dword [edx + 8]
fld dword [edx + 4]
mov edx, dword [edx]
mov dword [eax + 0x14], edx
fstp dword [eax + 0x18]
fstp dword [eax + 0x1c]
mov ebx, dword [esi + 0x28]
mov edx, dword [esi + 0x20]
mov ebp, dword [esi + 0x24]
sub edx, ebx
mov ebx, dword [esi + 0x1c]
imul edx, ecx
add edx, ebp
add edx, ebx
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
fld dword [edx + 8]
fld dword [edx + 4]
mov edx, dword [edx]
mov dword [eax + 0x20], edx
fstp dword [eax + 0x24]
fstp dword [eax + 0x28]
mov ebp, dword [esi + 0x20]
mov edx, dword [esi + 0x28]
mov ebx, dword [esi + 0x24]
add edx, ebp
mov ebp, dword [esi + 0x1c]
imul edx, ecx
sub edx, ebx
add edx, ebp
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
fld dword [edx + 8]
fld dword [edx + 4]
mov edx, dword [edx]
mov dword [eax + 0x2c], edx
fstp dword [eax + 0x30]
fstp dword [eax + 0x34]
mov ebx, dword [esi + 0x20]
mov edx, dword [esi + 0x28]
mov ebp, dword [esi + 0x24]
add edx, ebx
mov ebx, dword [esi + 0x1c]
imul edx, ecx
add edx, ebp
add edx, ebx
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
fld dword [edx + 8]
fld dword [edx + 4]
mov edx, dword [edx]
fstp dword [eax + 0x3c]
mov dword [eax + 0x38], edx
fstp dword [eax + 0x40]
mov edx, dword [esi + 0x20]
mov ebp, dword [esi + 0x24]
imul edx, ecx
mov ebx, dword [esi + 0x1c]
sub edx, ebp
add edx, ebx
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
fld dword [edx + 8]
fld dword [edx + 4]
mov edx, dword [edx]
fstp dword [eax + 0x48]
mov dword [eax + 0x44], edx
fstp dword [eax + 0x4c]
mov edx, dword [esi + 0x20]
mov ebp, dword [esi + 0x24]
imul edx, ecx
mov ebx, dword [esi + 0x1c]
add edx, ebp
add edx, ebx
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
fld dword [edx + 8]
fld dword [edx + 4]
mov edx, dword [edx]
mov dword [eax + 0x50], edx
fstp dword [eax + 0x54]
fstp dword [eax + 0x58]
mov ebp, dword [esi + 0x28]
mov edx, dword [esi + 0x20]
mov ebx, dword [esi + 0x1c]
sub edx, ebp
imul edx, ecx
add edx, ebx
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
fld dword [edx + 8]
fld dword [edx + 4]
mov edx, dword [edx]
fstp dword [eax + 0x60]
mov dword [eax + 0x5c], edx
fstp dword [eax + 0x64]
mov edx, dword [esi + 0x28]
mov ebp, dword [esi + 0x20]
mov ebx, dword [esi + 0x1c]
add edx, ebp
imul edx, ecx
add edx, ebx
lea edx, [edx + edx*2]
lea edx, [edi + edx*8]
fld dword [edx + 8]
fld dword [edx + 4]
mov edx, dword [edx]
fstp dword [eax + 0x6c]
mov dword [eax + 0x68], edx
fstp dword [eax + 0x70]
mov edx, dword [esi + 0x20]
imul edx, ecx
add edx, dword [esi + 0x1c]
lea ecx, [edx + edx*2]
mov edx, dword [edi + ecx*8]
lea ecx, [edi + ecx*8]
fld dword [ecx + 8]
fld dword [ecx + 4]
mov dword [eax + 0x74], edx
fstp dword [eax + 0x78]
fstp dword [eax + 0x7c]
mov eax, dword [0x2209764]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov ecx, dword [esi + 0x50]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1a0]
mov ecx, dword [0x2209764]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 0x18
push 0
push ecx
push 0
push eax
call dword [edx + 0x190]
mov eax, dword [0x2209400]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0
mov edx, dword [eax]
push eax
call dword [edx + 0x168]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 0x142
push eax
call dword [edx + 0x164]
mov edx, dword [esi + 0x58]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push edx
mov edx, dword [esi + 0x54]
push 0
push edx
push 0
push 0
push 4
push eax
call dword [ecx + 0x148]
mov eax, dword [esi + 0x58]
mov edi, dword [0x2209814]
mov edx, dword [esp + 0x14]
add edi, eax
mov eax, dword [0x2209400]
push edx
mov dword [0x2209814], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x164]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x4bc
ret 4