Function at 0x482d20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x34
push edi
mov edi, ecx
mov al, byte [edi + 0xc]
and al, 0xf
cmp al, 3
je 0x482d38
xor eax, eax
pop edi
add esp, 0x34
ret 0xc
mov eax, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0xc]
push edx
push esi
push eax
mov ecx, edi
call fcn.00482b70
mov eax, dword [0x830304]
test al, 1
jne 0x482d83
or eax, 1
mov dword [0x830304], eax
mov dword [0x8302f8], 0
mov dword [0x8302fc], 0
mov dword [0x830300], 0
test al, 2
jne 0x482dad
or eax, 2
mov dword [0x830304], eax
mov dword [0x8302ec], 0
mov dword [0x8302f0], 0
mov dword [0x8302f4], 0
cmp dword [edi], 8
mov dword [esp + 0x44], 0x3f800000
jne 0x482dc4
mov ecx, dword [0x798b38]
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 8]
test eax, eax
jne 0x482dd2
movzx ecx, word [edi + 0xa]
jmp 0x482df4
mov dl, byte [edi + 0xc]
movzx ecx, word [edi + 6]
and dl, 0xf0
cmp dl, 0x10
movzx edx, word [edi + 0xa]
jne 0x482f86
cmp eax, ecx
lea eax, [eax + eax*8]
jne 0x482e53
lea ecx, [edx + eax - 9]
mov edx, dword [esi + 0x44]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x48]
mov dword [eax], edx
mov edx, dword [esi + 0x44]
mov edx, dword [edx + ecx*4 + 4]
inc ecx
mov dword [eax + 4], edx
mov edx, dword [esi + 0x44]
fld dword [edx + ecx*4 + 4]
pop esi
fst dword [eax + 8]
pop edi
fld dword [esp + 0x3c]
fmul dword [eax]
fstp dword [esp + 4]
mov ecx, dword [esp + 4]
fld dword [esp + 0x3c]
fmul dword [eax + 4]
mov dword [eax], ecx
fstp dword [esp + 8]
mov edx, dword [esp + 8]
fmul dword [esp + 0x3c]
mov dword [eax + 4], edx
fstp dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov eax, 1
add esp, 0x34
ret 0xc
mov ecx, dword [esi + 0x44]
lea eax, [edx + eax - 9]
fld dword [ecx + eax*4]
fstp dword [0x8302f8]
mov edx, dword [esi + 0x44]
fld dword [edx + eax*4 + 4]
fstp dword [0x8302fc]
mov ecx, dword [esi + 0x44]
fld dword [ecx + eax*4 + 8]
fstp dword [0x830300]
mov edx, dword [esi + 0x44]
fld dword [edx + eax*4 + 0x24]
fstp dword [0x8302ec]
mov ecx, dword [esi + 0x44]
fld dword [ecx + eax*4 + 0x28]
lea ecx, [esp + 0x18]
fstp dword [0x8302f0]
mov edx, dword [esi + 0x44]
fld dword [edx + eax*4 + 0x2c]
lea edx, [esp + 0x24]
fstp dword [0x8302f4]
mov esi, dword [esi + 0x44]
fld dword [esi + eax*4 + 0x18]
fld dword [esi + eax*4 + 0x1c]
fld dword [esi + eax*4 + 0x20]
fstp dword [esp + 0x14]
fld dword [esi + eax*4 + 0x30]
fld dword [esi + eax*4 + 0x34]
fld dword [esi + eax*4 + 0x38]
mov eax, dword [esp + 0x40]
fstp dword [esp + 0x2c]
push eax
fld dword [0x8302ec]
push ecx
fadd st(2)
push edx
push 0x8302ec
lea eax, [esp + 0x40]
fstp dword [esp + 0x28]
push 0x8302f8
fld dword [0x8302f0]
push eax
fadd st(1)
fstp dword [esp + 0x34]
fstp st(0)
fstp st(0)
fld dword [0x8302f4]
fadd dword [esp + 0x44]
fstp dword [esp + 0x38]
fld dword [0x8302f8]
fadd st(2)
fstp dword [esp + 0x3c]
fld dword [0x8302fc]
fadd st(1)
fstp dword [esp + 0x40]
fstp st(0)
fstp st(0)
fld dword [0x830300]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x44]
call fcn.004ac110
fld dword [esp + 0x5c]
fmul dword [eax]
mov ecx, dword [esp + 0x60]
add esp, 0x18
fstp dword [esp + 0xc]
mov edx, dword [esp + 0xc]
fld dword [esp + 0x44]
fmul dword [eax + 4]
fstp dword [esp + 0x10]
fld dword [esp + 0x44]
fmul dword [eax + 8]
mov eax, dword [esp + 0x10]
mov dword [ecx], edx
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], eax
pop esi
mov dword [ecx + 8], edx
mov eax, 1
pop edi
add esp, 0x34
ret 0xc
cmp eax, ecx
lea eax, [eax + eax*2]
jne 0x482f96
lea ecx, [edx + eax - 3]
jmp 0x482df4
mov ecx, dword [esi + 0x44]
lea eax, [edx + eax - 3]
fld dword [ecx + eax*4]
inc eax
fstp dword [0x8302f8]
mov edx, dword [esi + 0x44]
fld dword [edx + eax*4]
inc eax
fstp dword [0x8302fc]
mov ecx, dword [esi + 0x44]
fld dword [ecx + eax*4]
inc eax
fstp dword [0x830300]
mov edx, dword [esi + 0x44]
fld dword [edx + eax*4]
inc eax
fstp dword [0x8302ec]
mov ecx, dword [esi + 0x44]
fld dword [ecx + eax*4]
lea ecx, [esp + 0x30]
fstp dword [0x8302f0]
mov edx, dword [esi + 0x44]
fld dword [edx + eax*4 + 4]
mov eax, dword [esp + 0x40]
push eax
fstp dword [0x8302f4]
push 0x8302ec
push 0x8302f8
push ecx
call fcn.0046eea0
fld dword [esp + 0x54]
fmul dword [eax]
mov edx, dword [esp + 0x58]
add esp, 0x10
pop esi
fstp dword [esp + 8]
pop edi
fld dword [esp + 0x3c]
fmul dword [eax + 4]
fstp dword [esp + 8]
fld dword [esp + 0x3c]
mov ecx, dword [esp + 8]
fmul dword [eax + 8]
mov eax, dword [esp + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
fstp dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov dword [edx + 8], eax
mov eax, 1
add esp, 0x34
ret 0xc