Function at 0x40b960
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
mov edi, dword [eax + 0x10]
test edi, edi
je 0x40c321
mov ebx, dword [edi + 0xe4]
xor ecx, ecx
test ebx, ebx
setne cl
test ecx, ecx
je 0x40c321
mov ecx, dword [ebp + 0xc]
mov bx, word [esi + 0xa]
movsx edx, word [eax + 0x18]
movsx ecx, word [ecx]
imul edx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
sar edx, 0xa
movsx ecx, word [ecx + 2]
mov dword [esp + 0x20], ebx
sub ebx, edx
movsx edx, word [eax + 0x1a]
imul edx, ecx
mov dword [esp + 0x24], ecx
mov cx, word [esi + 0xc]
sar edx, 0xa
sub ecx, edx
add ebx, 0x190
movsx edx, word [eax + 0x18]
imul edx, dword [esp + 0x1c]
add ecx, 0x12c
mov word [esp + 0x1a], cx
mov ecx, dword [esp + 0x20]
add cx, word [eax + 8]
sar edx, 0xa
mov word [esp + 0x2c], cx
mov cx, word [eax + 0xa]
add cx, word [esi + 0xc]
mov word [esp + 0x2e], cx
mov ecx, dword [esp + 0x2c]
sub ecx, edx
movsx edx, word [eax + 0x1a]
imul edx, dword [esp + 0x24]
add ecx, 0x190
mov word [esp + 0x10], cx
mov ecx, dword [esp + 0x2e]
sub word [esp + 0x10], bx
sar edx, 0xa
sub ecx, edx
mov dx, word [eax + 0xe]
add ecx, 0x12c
sub cx, word [esp + 0x1a]
test dx, dx
mov word [esp + 0x12], cx
je 0x40bf27
movsx eax, dx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [0x4aa634]
fmul dword [0x4aa630]
call fcn.0047e340
and eax, 0x3ff
push 0x3f800000
shl eax, 2
push 0
push 0
mov ecx, dword [eax + 0x4d0fac]
mov edx, dword [eax + 0x4d1fac]
movsx eax, word [esp + 0x1e]
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], ecx
cdq
sub eax, edx
mov ecx, eax
movsx eax, word [esp + 0x1c]
cdq
sub eax, edx
movsx edx, word [esp + 0x26]
sar ecx, 1
add edx, ecx
push ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
fild dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
movsx edx, bx
fstp dword [esp]
fld dword [esp + 0x2c]
push ecx
push ecx
sar eax, 1
fchs
fstp dword [esp]
add edx, eax
push ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x48]
mov eax, dword [esp + 0x38]
fstp dword [esp]
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.0040d6b0
mov eax, dword [esp + 0x10]
neg eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
fild dword [esp + 0x2c]
neg eax
mov dword [esp + 0x2c], eax
fst dword [esp + 0x24]
fild dword [esp + 0x2c]
fld st(0)
fld dword [esp + 0x58]
fmul st(1)
fld dword [esp + 0x54]
fmul dword [esp + 0x24]
faddp st(1)
fadd dword [esp + 0x5c]
fstp dword [esp + 0x34]
fld dword [esp + 0x64]
fmul st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x24]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x38]
fstp st(0)
fild dword [esp + 0x10]
fst dword [esp + 0x2c]
fstp dword [esp + 0x24]
fld dword [esp + 0x58]
fmul st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x54]
mov ax, word [esi + 0x18]
test al, 2
faddp st(1)
fadd dword [esp + 0x5c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x60]
fmul dword [esp + 0x24]
fld dword [esp + 0x64]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x40]
fstp st(0)
fld dword [esp + 0x2c]
fild dword [esp + 0x20]
fst dword [esp + 0x2c]
fld dword [esp + 0x58]
fmul st(1)
fld st(2)
fmul dword [esp + 0x54]
faddp st(1)
fadd dword [esp + 0x5c]
fstp dword [esp + 0x44]
fld dword [esp + 0x60]
fmul st(2)
fld dword [esp + 0x64]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x48]
fstp st(0)
fstp st(0)
fld dword [esp + 0x2c]
fld dword [esp + 0x58]
fmul st(1)
fld st(2)
fmul dword [esp + 0x54]
faddp st(1)
fadd dword [esp + 0x5c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x60]
fmul st(2)
fld dword [esp + 0x64]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x50]
fstp st(0)
fstp st(0)
je 0x40bd97
test al, 1
je 0x40bccc
movsx ecx, word [edi + 2]
movsx edx, word [edi]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
mov ecx, dword [esi + 0x2a]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x2e]
push eax
fsub dword [0x4aa560]
mov eax, dword [esi + 0x32]
push ecx
mov ecx, dword [esi + 0x36]
push edx
mov edx, dword [esi + 0x1a]
push eax
fstp dword [esp + 0x20]
fild dword [esp + 0x3c]
mov eax, dword [esi + 0x1e]
push ecx
mov ecx, dword [esi + 0x22]
push edx
fsub dword [0x4aa560]
mov edx, dword [esi + 0x26]
push eax
mov eax, dword [0x4aa560]
push ecx
mov ecx, dword [esp + 0x30]
push edx
fstp dword [esp + 0x3c]
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x70]
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x70]
push eax
push eax
mov eax, dword [esp + 0x7c]
push edi
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
push eax
push ecx
push 0x1e
mov ecx, 4
push 1
push ecx
push ecx
lea ecx, [esp + 0xa4]
call fcn.0040ddc0
mov edx, dword [eax]
push edx
call fcn.004503a0
add esp, 0x6c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx eax, word [edi + 2]
movsx ecx, word [edi]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov eax, dword [esi + 0x2e]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x2a]
push edx
fsub dword [0x4aa560]
mov edx, dword [esi + 0x36]
push eax
mov eax, dword [esi + 0x32]
push ecx
mov ecx, dword [esi + 0x1e]
push edx
fstp dword [esp + 0x20]
fild dword [esp + 0x3c]
mov edx, dword [esi + 0x1a]
push eax
mov eax, dword [esi + 0x26]
push ecx
mov ecx, dword [esi + 0x22]
push edx
fsub dword [0x4aa560]
push eax
mov eax, dword [0x4aa560]
push ecx
mov ecx, dword [esp + 0x34]
push ecx
push eax
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x48]
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x74]
push eax
push eax
mov eax, dword [esp + 0x80]
push edi
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push ecx
push edx
push eax
push 0x1e
mov ecx, 4
push 1
push ecx
push ecx
lea ecx, [esp + 0xa4]
call fcn.0040ddc0
mov ecx, dword [eax]
push ecx
call fcn.004503a0
add esp, 0x6c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test al, 1
je 0x40be6d
movsx edx, word [edi + 2]
movsx eax, word [edi]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
mov edx, dword [esi + 0x32]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x36]
push ecx
fsub dword [0x4aa560]
mov ecx, dword [esi + 0x2a]
push edx
mov edx, dword [esi + 0x2e]
push eax
mov eax, dword [esi + 0x22]
push ecx
fstp dword [esp + 0x20]
fild dword [esp + 0x3c]
mov ecx, dword [esi + 0x26]
push edx
mov edx, dword [esi + 0x1a]
push eax
mov eax, dword [esi + 0x1e]
push ecx
fsub dword [0x4aa560]
mov ecx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [0x4aa560]
push ecx
push eax
fstp dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x74]
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x84]
push eax
push eax
mov eax, dword [esp + 0x94]
push edi
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push eax
push ecx
push edx
push 0x1e
mov ecx, 4
push 1
push ecx
push ecx
lea ecx, [esp + 0xa4]
call fcn.0040ddc0
mov eax, dword [eax]
push eax
call fcn.004503a0
add esp, 0x6c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movsx ecx, word [edi + 2]
movsx edx, word [edi]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
mov ecx, dword [esi + 0x36]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x32]
push eax
fsub dword [0x4aa560]
mov eax, dword [esi + 0x2e]
push ecx
mov ecx, dword [esi + 0x2a]
push edx
mov edx, dword [esi + 0x26]
push eax
fstp dword [esp + 0x20]
fild dword [esp + 0x3c]
mov eax, dword [esi + 0x22]
push ecx
mov ecx, dword [esi + 0x1e]
push edx
fsub dword [0x4aa560]
mov edx, dword [esi + 0x1a]
push eax
mov eax, dword [0x4aa560]
push ecx
mov ecx, dword [esp + 0x30]
push edx
fstp dword [esp + 0x3c]
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x78]
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x88]
push eax
push eax
mov eax, dword [esp + 0x94]
push edi
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x90]
push edx
push eax
push ecx
push 0x1e
mov ecx, 4
push 1
push ecx
push ecx
lea ecx, [esp + 0xa4]
jmp 0x40bcb3
mov dx, word [eax + 6]
mov eax, dword [eax + 0x14]
test dl, 0x10
mov dword [esp + 0x1c], eax
je 0x40c07d
test eax, eax
je 0x40bfeb
mov dx, word [esi + 0x18]
test dl, 2
movsx eax, cx
je 0x40bf51
neg eax
test dl, 1
movsx edx, word [esp + 0x10]
je 0x40bf5d
neg edx
mov ecx, 4
mov byte [esp + 0x13], 0x1f
mov byte [esp + 0x11], cl
mov byte [esp + 0x10], cl
mov byte [esp + 0x12], cl
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x36]
push ecx
mov ecx, dword [esi + 0x32]
push ecx
mov ecx, dword [esi + 0x2e]
push ecx
mov ecx, dword [esi + 0x2a]
push ecx
mov ecx, dword [esi + 0x26]
push ecx
mov ecx, dword [esi + 0x22]
push ecx
mov ecx, dword [esi + 0x1e]
push ecx
mov ecx, dword [esi + 0x1a]
push ecx
mov ecx, dword [esi + 0x48]
push ecx
mov ecx, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x40]
push ecx
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [esp + 0x50]
push ecx
movsx ecx, word [edi + 2]
push ecx
movsx ecx, word [edi]
push ecx
push 0
movsx ecx, word [esp + 0x5e]
push 0
push edi
push eax
mov eax, dword [ebp + 8]
push edx
movsx edx, word [eax + 2]
add edx, ecx
mov ecx, dword [esp + 0x64]
push edx
movsx edx, word [eax]
movsx eax, bx
add edx, eax
push edx
push ecx
call fcn.0044df10
add esp, 0x60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ax, word [esi + 0x18]
test al, 2
movsx edx, cx
je 0x40bff8
neg edx
test al, 1
movsx eax, word [esp + 0x10]
je 0x40c003
neg eax
mov ecx, 4
mov byte [esp + 0x12], 1
mov byte [esp + 0x11], cl
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], 0x1f
push ecx
mov ecx, dword [esi + 0x36]
push ecx
mov ecx, dword [esi + 0x32]
push ecx
mov ecx, dword [esi + 0x2e]
push ecx
mov ecx, dword [esi + 0x2a]
push ecx
mov ecx, dword [esi + 0x26]
push ecx
mov ecx, dword [esi + 0x22]
push ecx
mov ecx, dword [esi + 0x1e]
push ecx
mov ecx, dword [esi + 0x1a]
push ecx
movsx ecx, word [edi + 2]
push ecx
movsx ecx, word [edi]
push ecx
push 0
movsx ecx, word [esp + 0x4a]
push 0
push edi
push edx
push eax
mov eax, dword [ebp + 8]
movsx edx, word [eax + 2]
add edx, ecx
mov ecx, dword [esp + 0x50]
push edx
movsx edx, word [eax]
movsx eax, bx
add edx, eax
push edx
push ecx
call fcn.0044a140
add esp, 0x4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x40c298
test dh, 2
je 0x40c1f0
push eax
call fcn.004518a0
cdq
and edx, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x51eb851f
mul dword [0x52ab34]
mov eax, edx
xor edx, edx
sar ecx, 5
shr eax, 5
div ecx
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x14]
push eax
call fcn.004518b0
cdq
fild dword [esp + 0x34]
and edx, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x51eb851f
mul dword [0x52ab34]
fmul dword [0x4aa62c]
fstp dword [esp + 0x2c]
mov eax, edx
xor edx, edx
sar ecx, 5
shr eax, 5
div ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x14]
push eax
call fcn.004518a0
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x10]
fild dword [esp + 0x38]
mov edx, dword [ecx + 0x14]
push edx
fdivr dword [esp + 0x34]
fadd dword [esi + 0x3c]
fstp dword [esp + 0x2c]
fild dword [esp + 0x30]
fmul dword [0x4aa62c]
fstp dword [esp + 0x34]
call fcn.004518b0
mov dword [esp + 0x3c], eax
mov ax, word [esi + 0x18]
fild dword [esp + 0x3c]
movsx edx, word [esp + 0x22]
fdivr dword [esp + 0x34]
add esp, 0x10
test al, 2
fadd dword [esi + 0x40]
fstp dword [esp + 0x2c]
je 0x40c152
neg edx
test al, 1
movsx eax, word [esp + 0x10]
je 0x40c15d
neg eax
mov ecx, 4
mov byte [esp + 0x12], 7
mov byte [esp + 0x11], cl
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], 0x1e
push ecx
mov ecx, dword [esi + 0x36]
push ecx
mov ecx, dword [esi + 0x32]
push ecx
mov ecx, dword [esi + 0x2e]
push ecx
mov ecx, dword [esi + 0x2a]
push ecx
mov ecx, dword [esi + 0x26]
push ecx
mov ecx, dword [esi + 0x22]
push ecx
mov ecx, dword [esi + 0x1e]
push ecx
mov ecx, dword [esi + 0x1a]
push ecx
mov ecx, dword [esi + 0x48]
push ecx
mov ecx, dword [esi + 0x44]
push ecx
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x14]
push ecx
movsx ecx, word [edi + 2]
push ecx
movsx ecx, word [edi]
push ecx
push 0
movsx ecx, word [esp + 0x5e]
push 0
push edi
push edx
push eax
mov eax, dword [ebp + 8]
movsx edx, word [eax + 2]
add edx, ecx
mov ecx, dword [esp + 0x64]
push edx
movsx edx, word [eax]
movsx eax, bx
add edx, eax
push edx
push ecx
call fcn.0044df10
add esp, 0x60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dx, word [esi + 0x18]
test dl, 2
movsx eax, cx
je 0x40c1fe
neg eax
test dl, 1
movsx edx, word [esp + 0x10]
je 0x40c20a
neg edx
mov ecx, 4
mov byte [esp + 0x13], 0x1e
mov byte [esp + 0x11], cl
mov byte [esp + 0x10], cl
mov byte [esp + 0x12], cl
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x36]
push ecx
mov ecx, dword [esi + 0x32]
push ecx
mov ecx, dword [esi + 0x2e]
push ecx
mov ecx, dword [esi + 0x2a]
push ecx
mov ecx, dword [esi + 0x26]
push ecx
mov ecx, dword [esi + 0x22]
push ecx
mov ecx, dword [esi + 0x1e]
push ecx
mov ecx, dword [esi + 0x1a]
push ecx
mov ecx, dword [esi + 0x48]
push ecx
mov ecx, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x40]
push ecx
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [esp + 0x50]
push ecx
movsx ecx, word [edi + 2]
push ecx
movsx ecx, word [edi]
push ecx
push 0
movsx ecx, word [esp + 0x5e]
push 0
push edi
push eax
mov eax, dword [ebp + 8]
push edx
movsx edx, word [eax + 2]
add edx, ecx
mov ecx, dword [esp + 0x64]
push edx
movsx edx, word [eax]
movsx eax, bx
add edx, eax
push edx
push ecx
call fcn.0044df10
add esp, 0x60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ax, word [esi + 0x18]
test al, 2
movsx edx, cx
je 0x40c2a5
neg edx
test al, 1
movsx eax, word [esp + 0x10]
je 0x40c2b0
neg eax
mov ecx, 4
mov byte [esp + 0x12], 1
mov byte [esp + 0x11], cl
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], 0x1e
push ecx
mov ecx, dword [esi + 0x36]
push ecx
mov ecx, dword [esi + 0x32]
push ecx
mov ecx, dword [esi + 0x2e]
push ecx
mov ecx, dword [esi + 0x2a]
push ecx
mov ecx, dword [esi + 0x26]
push ecx
mov ecx, dword [esi + 0x22]
push ecx
mov ecx, dword [esi + 0x1e]
push ecx
mov ecx, dword [esi + 0x1a]
push ecx
movsx ecx, word [edi + 2]
push ecx
movsx ecx, word [edi]
push ecx
push 0
movsx ecx, word [esp + 0x4a]
push 0
push edi
push edx
push eax
mov eax, dword [ebp + 8]
movsx edx, word [eax + 2]
add edx, ecx
mov ecx, dword [esp + 0x50]
push edx
movsx edx, word [eax]
movsx eax, bx
add edx, eax
push edx
push ecx
call fcn.0044a140
add esp, 0x4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8