Function at 0x402940
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0041c0e0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40296d
mov eax, 0xffffec77
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004019c0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.00401b20
mov ecx, dword [esp + 0x34]
add esp, 0xc
lea eax, [ecx - 1]
cmp eax, 0xe
ja case.0x40299d.7
xor edx, edx
mov dl, byte [eax + 0x402d0c]
jmp dword [edx*4 + 0x402cf0]
push 0x46
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00401240
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.0041c160
lea edx, [esp + 0xb8]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00401cb0
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
add esp, 0x1c
fld qword [esp + 0xf0]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x100]
fstp qword [eax]
mov dword [eax + 0x10], ecx
mov cl, byte [esp + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x104]
test cl, 1
mov dword [eax + 0x14], edx
je 0x402a1a
fld qword [esp + 0xf0]
jmp 0x402cbb
mov esi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x2c], edx
call fcn.0041c160
lea edx, [esp + 0x1c]
push edx
call fcn.00401af0
add esp, 0xc
cmp eax, 0xc
je 0x402cd8
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00401cb0
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x100]
mov dword [esi], edx
mov edx, dword [esp + 0x104]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x108]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x10c]
mov dword [esi + 0x10], eax
add esp, 8
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ecx
jmp 0x402a1d
push 0x5a
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.00401240
push 0x46
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.00401240
mov esi, dword [ebp + 0xc]
push 0xa
push ebx
push esi
call fcn.00401190
mov al, byte [esp + 0x34]
add esp, 0x24
test al, 1
je 0x402b02
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x14], edx
jmp 0x402cd8
mov ecx, dword [esp + 0x1c]
xor edi, edi
test ecx, ecx
mov eax, ebx
jle 0x402cd8
mov esi, dword [ebp + 0x10]
mov eax, dword [eax]
push 0xa
push eax
call fcn.00401050
mov ecx, dword [eax + 6]
add esp, 8
mov dword [esi], ecx
mov edx, dword [eax + 0xa]
mov dword [esi + 4], edx
mov ecx, dword [eax + 0xe]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0x12]
mov dword [esi + 0xc], edx
mov ecx, dword [eax + 0x16]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0x1a]
inc edi
cmp edi, ecx
mov dword [esi + 0x14], edx
jl 0x402b15
jmp 0x402cd8
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
fld qword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
fstp qword [eax]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
jmp 0x402cb7
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push esi
push ecx
push edx
lea eax, [esp + 0x80]
push esi
push eax
call fcn.0041f090
fstp qword [esp]
lea ecx, [esp + 0x88]
push ecx
call fcn.0041f130
mov eax, dword [ebp + 0x10]
mov edx, dword [esi]
add esp, 0x18
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
jmp 0x402cd8
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
push edx
lea ecx, [esp + 0x84]
push eax
push ecx
call fcn.0041f130
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xbc]
push eax
mov eax, dword [esp + 0xbc]
push ecx
push edx
lea ecx, [esp + 0x9c]
push eax
push ecx
call fcn.0041f130
add esp, 0x30
jmp 0x402cd8
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
fld qword [esp + 0x44]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x54]
fstp qword [eax]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x58]
fld qword [esp + 0x5c]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x68]
fstp qword [eax]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
jmp 0x402cd8
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
fld qword [esp + 0x2c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
fstp qword [eax]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
fld qword [esp + 0x2c]
mov ecx, dword [ebp + 0x10]
fstp qword [ecx]
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x14], eax
push ebx
call fcn.0041ab90
add esp, 4
mov eax, 0x13ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret