Function at 0x401000
Capabilities:
Enumerate pe sections

Disassembly:
push 0x401286
call fcn.0040162b
push 0
call fcn.0040163d
mov dword [section.DATA], eax
mov ebx, dword [eax + 0x3c]
add ebx, eax
movzx eax, word [ebx + 0x14]
movzx ecx, word [ebx + 6]
lea edi, [eax + ebx + 0x18]
cmp dword [edi], 0x5441502e
je 0x40103a
add edi, 0x28
dec ecx
jne 0x401027
jmp 0x401286
mov ebx, dword [edi + 0xc]
add ebx, dword [section.DATA]
mov dword [0x402523], ebx
mov dword [0x40201c], 0x30
mov dword [0x402020], 3
mov dword [0x402024], 0x4012b0
mov dword [0x402028], 0
mov dword [0x40202c], 0x1e
mov eax, dword [section.DATA]
mov dword [0x402030], eax
push 0x68
push dword [section.DATA]
call fcn.004015bf
mov dword [0x402034], eax
mov dword [0x402048], eax
push 0x7f00
push 0
call fcn.0040161f
mov dword [0x402038], eax
mov dword [0x40203c], 1
mov dword [0x402040], 0
mov dword [0x402044], 0x402094
push 0x40201c
call fcn.004015cb
push 0
push 0
push 0
push 0x402094
push dword [section.DATA]
call fcn.004015f5
mov dword [0x402004], eax
mov edi, dword [0x402523]
mov eax, dword [edi]
add edi, 4
push edi
mov dword [0x40250a], edi
lea edi, [edi + eax]
push dword [0x402004]
call fcn.004015e3
mov ebx, 0x3e8
mov eax, dword [edi]
add edi, 4
push edi
lea edi, [edi + eax]
push ebx
push dword [0x402004]
call fcn.004015c5
inc ebx
cmp ebx, 0x3eb
jl 0x401115
mov eax, dword [edi]
add edi, 4
mov dword [0x40250e], edi
lea edi, [edi + eax]
mov eax, dword [edi]
mov dword [0x40252f], eax
add edi, 4
mov dword [0x40252b], edi
lea edi, [edi + eax]
mov dword [0x402523], edi
add edi, 4
mov ecx, dword [edi]
cmp ecx, 0
je 0x40117d
push 0
push 1
push 0xf1
push 0x3ef
push dword [0x402004]
call fcn.004015ef
mov edi, dword [0x402523]
mov eax, dword [edi]
mov dword [0x402537], eax
add edi, 4
mov dword [0x402533], edi
lea edi, [edi + eax]
mov eax, dword [edi]
mov dword [0x40253f], eax
add edi, 4
mov dword [0x40253b], edi
lea edi, [edi + eax]
mov dword [0x402523], edi
add edi, 4
mov eax, dword [edi]
test eax, eax
je 0x4011d1
push 0
push 1
push 0xf1
push 0x3f0
push dword [0x402004]
call fcn.004015ef
mov edi, dword [0x402523]
mov eax, dword [edi]
add edi, 4
lea edi, [edi + eax]
mov dword [0x402523], edi
add edi, 4
mov eax, dword [edi]
test eax, eax
je 0x401207
push 0
push 1
push 0xf1
push 0x3f1
push dword [0x402004]
call fcn.004015ef
mov edi, dword [0x402523]
mov eax, dword [edi]
add edi, 4
lea edi, [edi + eax]
mov dword [0x402523], edi
mov ecx, dword [edi]
cmp ecx, 0
je 0x40123b
push 0
push 1
push 0xf1
push 0x3ef
push dword [0x402004]
call fcn.004015ef
mov edi, dword [0x402523]
mov dword [0x402527], edi
push 0
push 0
push 0
push 0x40204c
call fcn.00401613
test eax, eax
je 0x4012a5
push 0x40204c
push dword [0x402004]
call fcn.00401619
cmp eax, 1
je 0x401247
push 0x40204c
call fcn.004015dd
push 0x40204c
call fcn.00401607
jmp 0x401247
push 0xffffffffffffffff
call fcn.004015d7
push 0x10
push dword [0x40250a]
push 0x4021a9
push dword [0x402004]
call fcn.004015d1
push dword [0x402054]
call fcn.00401643
enter 0, 0
push ebx
push edi
push esi
cmp dword [ebp + 0xc], 0x111
je 0x4012d9
cmp dword [ebp + 0xc], 2
je 0x401312
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004015fb
jmp 0x40131b
cmp word [ebp + 0x10], 1
jne 0x4012e7
call fcn.00401322
jmp 0x40131b
cmp word [ebp + 0x10], 0x3eb
jne 0x40130b
push 0
push 0x401566
push dword [0x402004]
push 0x65
push dword [section.DATA]
call fcn.00401601
jmp 0x40131b
cmp word [ebp + 0x10], 2
jne 0x40131b
push 0
call fcn.004015b9
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 0x10