Function at 0x30133b80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push ebx
push esi
push edi
mov eax, dword [0x30179a58]
push 1
pop ebx
mov dword [eax + 0xd4], ebx
mov eax, dword [0x3017dfb4]
xor edi, edi
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [edx + 0x30]
push edi
lea ecx, [ecx + ecx*2]
mov dword [ebp - 0x14], edi
lea ecx, [eax + ecx*4]
mov dword [ebp - 0x38], ecx
mov ecx, dword [edx + 0x34]
mov dword [ebp - 0x20], edi
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x3017f120]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18c]
mov dword [0x3017f120], eax
lea eax, [ebp - 0x18c]
push eax
call fcn.30001d18
pop ecx
test eax, eax
pop ecx
je 0x30133c2b
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x10], edi
mov dword [0x3017f120], eax
je 0x30133c17
cmp dword [ebp - 4], edi
je 0x30133c05
push ebx
push dword [ebp - 4]
call fcn.3002702c
cmp dword [ebp - 0xc], edi
je 0x30133c17
push 0xb0
push dword [ebp - 0xc]
call fcn.30002e3d
cmp dword [ebp - 0x14], edi
je 0x30133c24
push dword [ebp - 0x14]
call fcn.30002f95
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [0x30179a58]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x1c]
and eax, 7
sub eax, edi
je 0x30133ccb
dec eax
dec eax
jne 0x30133c24
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], edi
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov eax, dword [esi + 0x30]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x148], ebx
mov eax, dword [edx]
dec eax
mov dword [ebp - 0x18], ebx
je 0x30133f12
dec eax
je 0x30133f03
dec eax
je 0x30133eef
dec eax
je 0x30133ee0
dec eax
je 0x30133dff
dec eax
jne 0x30133e22
mov dword [ebp - 0x14c], 4
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], edi
jmp 0x30133e22
mov esi, ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov edi, dword [0x3017e4ec]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], ebx
push eax
call fcn.300082dc
mov eax, dword [ebp - 4]
push 0xb0
mov dword [eax + 0x10c], ebx
call fcn.3001534a
mov ecx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
or byte [eax + 0x113], 0x40
mov eax, dword [ebp - 4]
push 0xc4
or byte [eax + 0xff], 0x40
mov eax, dword [ebp - 4]
add eax, 0x110
mov dx, word [eax]
and dx, 0xfffd
or edx, ebx
mov word [eax], dx
mov eax, dword [ebp - 4]
add eax, 0xfc
mov dx, word [eax]
and dx, 0xfffd
or edx, ebx
mov word [eax], dx
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
and ecx, 0xfffffffa
or ecx, 2
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], esi
mov eax, dword [ebp - 4]
mov dword [eax + 4], edi
mov eax, dword [ebp - 4]
add edi, 0x3bc
lea esi, [eax + 0x20]
push esi
push edi
call fcn.30001000
mov ax, word [esi + 6]
and word [esi + 8], 0xfff0
and ax, 0xf7ff
or dword [esi + 0x10], 0xffffffff
mov edi, 0x100
or eax, edi
mov word [esi + 6], ax
lea eax, [esi + 0x24]
push eax
call fcn.30002acb
and dword [esi + 0xc4], 0
and word [esi + 0x16], 0xfeff
and word [esi + 0x14], 0xff00
or word [esi + 2], di
mov eax, dword [ebp - 4]
add eax, 0xfc
mov ecx, 0xfff7
mov dx, word [eax]
and dx, cx
or edx, 4
mov word [eax], dx
mov eax, dword [ebp - 4]
add eax, 0x110
mov dx, word [eax]
and dx, cx
or edx, 4
mov word [eax], dx
mov eax, dword [ebp - 4]
add eax, 0xe8
mov dx, word [eax]
and dx, cx
or edx, 4
mov word [eax], dx
mov ecx, dword [ebp - 4]
xor edi, edi
jmp 0x30133c5a
cmp dword [ebp - 8], edi
mov dword [ebp - 0x14c], ebx
je 0x30133e22
lea eax, [esi + 0x3c]
push eax
call fcn.30007ceb
call fcn.30014dd9
test eax, eax
jg 0x30133e1f
mov dword [ebp - 8], edi
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xf0]
cmp dword [esi], 2
mov dword [ebp - 0x30], eax
jne 0x30133e43
mov eax, dword [esi + 0xc]
lea ecx, [eax + 2]
movzx eax, word [eax]
push ecx
push eax
call fcn.3000b9c5
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], edi
je 0x30133f1d
lea eax, [esi + 0x3c]
push eax
call fcn.30007ceb
lea eax, [ebp - 0x144]
push eax
call fcn.30014cc4
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], edx
mov ecx, dword [ecx + 8]
cmp eax, edi
mov dword [ebp - 8], ecx
jne 0x30133e88
cmp edx, edi
je 0x30133fed
cmp ecx, edi
jne 0x30133f27
push 0x110
call fcn.3001534a
mov edi, eax
mov dword [ebp - 0x20], edi
push 4
push edi
call fcn.30014f55
push 4
push edi
call fcn.30018c18
mov cx, word [edi + 0xde]
lea eax, [edi + 0xde]
and cx, 0xfff4
or ecx, 4
mov word [eax], cx
or dword [edi + 0xd8], 0xffffffff
and word [edi + 0xdc], 0xfffd
or byte [edi + 0xff], 0x80
jmp 0x30133f3c
mov dword [ebp - 0x14c], 3
jmp 0x30133cc3
mov dword [ebp - 0x14c], edi
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x148], eax
jmp 0x30133e22
mov dword [ebp - 0x14c], 2
jmp 0x30133cc3
mov dword [ebp - 0x14c], edi
jmp 0x30133e22
push 0x301792e0
jmp 0x30133e50
and dword [ebp - 8], 0
mov edi, ecx
mov dword [ebp - 0x20], edi
test byte [edi + 0xdc], bl
jne 0x30133e9f
cmp dword [ebp - 0x18], 0
je 0x30133ff5
lea eax, [esi + 0x18]
push eax
call fcn.30007ceb
lea eax, [ebp - 0x134]
push eax
call fcn.30014cc4
cmp dword [ebp - 0x18], 0
je 0x30133fff
lea eax, [esi + 0x24]
push eax
call fcn.30007ceb
lea eax, [ebp - 0x12c]
push eax
call fcn.30014cc4
mov eax, dword [ebp - 0x2c]
push 0xb0
push dword [ebp - 0xc]
and dword [ebp - 0x124], 0
mov dword [0x3017f120], eax
lea eax, [ebp - 0x14c]
push eax
call fcn.30001000
cmp dword [ebp - 0x30], 0
je 0x30133fab
push dword [ebp - 0x30]
call fcn.30002f95
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
cmp dword [ebp - 8], 0
mov dword [eax + 0xf0], ecx
je 0x30133fc5
push dword [ebp - 8]
call fcn.300c8123
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], 0
mov dword [eax + 8], edi
je 0x30134019
mov eax, dword [ebp - 0x1c]
or dword [eax + 0x1c], 0x40
mov eax, dword [0x3017f804]
mov eax, dword [eax + 0x368]
mov ecx, dword [eax]
test ecx, ecx
je 0x30134009
mov eax, ecx
jmp 0x30133fe3
mov edi, dword [ebp - 0x20]
jmp 0x30133f3c
call fcn.300072ec
jmp 0x30133f4f
call fcn.300072ec
jmp 0x30133f6e
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [0x3017f804]
inc dword [eax + 0x36c]
push 0xc
mov edi, dword [ebp - 0x38]
lea eax, [ebp - 0x9c]
push eax
push edi
call fcn.30001000
mov eax, dword [edi]
cmp eax, 3
jne 0x30134049
push 0xc
lea eax, [ebp - 0x90]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.30001000
add edi, 0x18
jmp 0x30134067
cmp eax, 6
jne 0x30134196
push 0xc
lea eax, [ebp - 0x90]
push eax
lea eax, [edi + 0x18]
push eax
call fcn.30001000
add edi, 0xc
push edi
call fcn.3000ad32
push 0xc
lea eax, [ebp - 0x84]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.30001000
push 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.30001000
cmp dword [esi + 0x30], 0
lea edi, [esi + 0x30]
je 0x301341ae
push 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [esi + 0x3c]
push eax
call fcn.30001000
push edi
call fcn.3000ad32
push 0xc
lea eax, [ebp - 0x60]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.30001000
push 0xc
lea eax, [ebp - 0x54]
push eax
lea eax, [esi + 0x54]
push eax
call fcn.30001000
cmp dword [esi], ebx
jne 0x301341c7
lea eax, [esi + 0xc]
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x48], ebx
push eax
call fcn.3000ad32
push esi
call fcn.3000ad32
push 8
lea eax, [ebp - 0x9c]
push eax
push 0xc8
call fcn.3000ace7
xor edi, edi
cmp dword [ebp - 0x10], edi
je 0x30134208
push ebx
call fcn.3001551e
test eax, eax
je 0x30134228
mov eax, dword [ebp - 4]
push eax
mov esi, dword [eax + 4]
call fcn.300e971e
cmp eax, edi
jl 0x30134228
mov ecx, dword [0x3017f740]
cmp ecx, dword [0x301793cc]
jne 0x30134148
push 0xffffffffffffffff
push eax
push 0x16
push esi
call fcn.300d8ffe
mov esi, 0x100
push esi
lea eax, [ebp - 0x28c]
push eax
push edi
call fcn.30001448
mov eax, dword [0x3017f804]
mov eax, dword [eax + 0x368]
cmp eax, edi
je 0x301341db
mov ecx, dword [eax + 0x1c]
and ecx, 7
cmp cl, 2
jne 0x30134192
mov ecx, dword [ebp - 0x1c]
cmp dword [eax + 0x14], ecx
jne 0x30134192
mov ecx, dword [eax + 0x40]
cmp ecx, edi
mov dword [ebp - 0x24], ecx
jl 0x30134192
cmp ecx, esi
jge 0x30134192
mov byte [ebp + ecx - 0x28c], bl
mov eax, dword [eax]
jmp 0x30134166
lea eax, [edi + 0xc]
mov dword [ebp - 0x88], pe_nt_image_headers32
push eax
call fcn.3000ad32
jmp 0x30134044
and dword [ebp - 0x6c], 0
lea eax, [esi + 0x3c]
mov dword [ebp - 0x64], 4
push eax
call fcn.3000ad32
jmp 0x301340aa
push 0xc
lea eax, [ebp - 0x48]
push eax
lea eax, [esi + 0xc]
push eax
call fcn.30001000
jmp 0x301340e9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x24], edi
push eax
call fcn.3000c531
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x40], ecx
call fcn.30006a2e
mov eax, dword [0x3017dca0]
or byte [eax + 0xc0], 0x80
mov eax, dword [0x3017dca0]
push edi
or byte [eax + 0xc0], 0x40
push 0x21
call fcn.3000935e
call fcn.300084b4
mov eax, ebx
jmp 0x30133c26
push edi
call fcn.3000946f
jmp 0x30134208