Function at 0x10030768
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084b42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100307a3
push 0
push 0
push 0x24c9
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
jmp 0x100311e7
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x150], 0xd6f2
mov dword [ebp - 0x140], 0x20f89b5
push 2
lea ecx, [ebp - 0x16c]
call fcn.10017abd
and dword [ebp - 4], 0
mov dword [ebp - 0x74], 7
lea eax, [ebp - 0x16c]
push eax
push 0x71e3
push 0x238f
push 0
lea eax, [ebp - 0x144]
push eax
call fcn.10029e09
add esp, 0x14
mov byte [ebp - 0x21], 0
push 0
push 0x5fc5
push 0x4439
lea eax, [ebp - 0x21]
push eax
call fcn.1002afc2
add esp, 0x10
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.10017b25
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov dword [ebp - 0x94], eax
push 1
lea ecx, [ebp - 0x120]
call fcn.10017abd
mov dword [ebp - 4], 1
push 0
lea eax, [ebp - 0x120]
push eax
push 0x2b74
push 0x18e0
lea eax, [ebp - 0x14c]
push eax
call fcn.10030645
add esp, 0x14
push 0
lea ecx, [ebp - 0x120]
call fcn.10017b2a
and dword [eax], 0
jmp 0x100308b3
push 0
lea ecx, [ebp - 0x120]
call fcn.10017b2a
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x120]
call fcn.10017b2a
cmp dword [eax], 0xffffffea
jne 0x100308fb
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x100308f9
push 0
push 0x1dd0
push 0x2400
push 0x5a96
push 0x56ec
push 0x2318
push 0x1e8c
call fcn.10029eb3
add esp, 0x1c
jmp 0x1003088f
push 0
call fcn.1002c81e
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.10017b25
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x48], 0
jmp 0x1003093d
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
add eax, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x48], eax
jge 0x100311e7
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 0x14], 0xa8360e56
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x3c], 0
jmp 0x1003097e
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x10030994
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xfc], 1
jmp 0x10030977
mov dword [ebp - 0x28], 0
jmp 0x100309a4
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jg 0x10030a87
push 3
lea ecx, [ebp - 0x18c]
call fcn.10017abd
mov dword [ebp - 4], 2
mov dword [ebp - 0x154], 0x263d
mov dword [ebp - 0x15c], 0xfffffffb
mov dword [ebp - 0x190], 0xfffffffc
mov dword [ebp - 0x160], 0x451f1e28
mov dword [ebp - 0x148], 0xb4cf22a1
push 2
lea ecx, [ebp - 0x17c]
call fcn.10017abd
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], 0
jmp 0x10030a15
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10030a31
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x18c]
call fcn.10017b2a
mov dword [eax], 0xe77dd688
jmp 0x10030a0e
mov dword [ebp - 0x1c], 0
jmp 0x10030a41
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10030a5d
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x17c]
call fcn.10017b2a
mov dword [eax], 9
jmp 0x10030a3a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x17c]
call fcn.10017b25
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c]
call fcn.10017b25
jmp 0x1003099d
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x100]
cmp dword [ebp + eax - 0xfc], ecx
jg 0x10030bd5
mov dword [ebp - 0x2c], 0xe510b2d4
mov dword [ebp - 0x104], 0
cmp dword [ebp - 0x2c], 0xfffffffe
je 0x10030ac2
mov dword [ebp - 0xbc], 1
jmp 0x10030ac9
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x14], 8
jl 0x10030adc
cmp dword [ebp - 0x2c], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xfc], 0xfffffffc
jne 0x10030afe
cmp dword [ebp - 0x14], 0
je 0x10030afe
mov dword [ebp - 0xd8], 1
jmp 0x10030b05
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x70], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xfc]
cmp dword [ebp - 0x70], eax
jl 0x10030b2c
mov dword [ebp - 0xa8], 1
jmp 0x10030b33
and dword [ebp - 0xa8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xfc]
cmp dword [ebp - 0xa8], eax
je 0x10030b50
mov dword [ebp - 0x78], 1
jmp 0x10030b54
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0xdd50170a
jbe 0x10030b69
mov dword [ebp - 0xdc], 1
jmp 0x10030b70
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jl 0x10030b87
mov dword [ebp - 0x80], 1
jmp 0x10030b8b
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x80], eax
jg 0x10030b9f
mov dword [ebp - 0x88], 1
jmp 0x10030ba6
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x88]
je 0x10030bc0
mov dword [ebp - 0xd4], 1
jmp 0x10030bc7
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x104], eax
jmp 0x10030c29
mov dword [ebp - 0x14], 0
jmp 0x10030be5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10030bfb
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xfc], 2
jmp 0x10030bde
cmp dword [ebp - 0x14], 0xfffd
jb 0x10030c10
mov dword [ebp - 0x90], 1
jmp 0x10030c17
and dword [ebp - 0x90], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x90]
mov dword [ebp + eax - 0xfc], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], 0
jne 0x10030ea3
push 0xd02
push 0
push dword [ebp - 0x108]
push dword [ebp - 0x94]
push dword [ebp - 0x18]
lea eax, [ebp - 0x50]
push eax
call fcn.100293da
add esp, 0x18
or dword [ebp - 0x138], 0xffffffff
or dword [ebp - 0x134], 0xffffffff
or dword [ebp - 0x130], 0xffffffff
or dword [ebp - 0x12c], 0xffffffff
lea ecx, [ebp - 0x51]
call fcn.10008ca3
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x198]
call fcn.10017b39
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xf0]
call fcn.10017aff
mov dword [ebp - 4], 4
mov dword [ebp - 0x84], 0xc4a87fce
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x40], 0
jmp 0x10030cd8
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x10030ceb
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x64], 0x48112def
jmp 0x10030cd1
push 2
lea ecx, [ebp - 0xf0]
call fcn.10017b2a
cmp dword [eax], 0x13ab
je 0x10030d0c
mov dword [ebp - 0xc4], 1
jmp 0x10030d13
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0xc4], eax
jg 0x10030d2a
mov dword [ebp - 0x4c], 1
jmp 0x10030d2e
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + eax - 0x64], ecx
push 1
lea ecx, [ebp - 0xf0]
call fcn.10017b2a
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax]
je 0x10030d5b
mov dword [ebp - 0x98], 1
jmp 0x10030d62
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0xffff
jne 0x10030d7a
mov dword [ebp - 0xe4], 1
jmp 0x10030d81
and dword [ebp - 0xe4], 0
push 0
lea ecx, [ebp - 0xf0]
call fcn.10017b2a
mov eax, dword [eax]
add eax, dword [ebp - 0xe4]
cmp eax, 1
jb 0x10030db0
mov eax, 0xb39e2240
test eax, eax
je 0x10030db0
mov dword [ebp - 0xa0], 1
jmp 0x10030db7
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0xdae4
jl 0x10030dcf
mov dword [ebp - 0xcc], 1
jmp 0x10030dd6
and dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xf0]
call fcn.10017b2a
mov eax, dword [eax]
sub eax, dword [ebp - 0xcc]
mov dword [ebp - 0x68], eax
jne 0x10030dff
mov eax, 0x85bd52a2
test eax, eax
jne 0x10030dff
and dword [ebp - 0x6c], 0
jmp 0x10030e06
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 0x6c], 0x74bf90ed
jl 0x10030e22
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 0
jne 0x10030e22
and dword [ebp - 0x7c], 0
jmp 0x10030e29
mov dword [ebp - 0x7c], 1
push 0
lea ecx, [ebp - 0xf0]
call fcn.10017b2a
mov ecx, dword [ebp - 0x7c]
add ecx, dword [eax]
imul ecx, dword [ebp - 0x84]
test ecx, ecx
jne 0x10030e61
push 0
lea ecx, [ebp - 0xf0]
call fcn.10017b2a
cmp dword [eax], 0
jne 0x10030e61
and dword [ebp - 0x8c], 0
jmp 0x10030e6b
mov dword [ebp - 0x8c], 1
push 0
lea ecx, [ebp - 0xf0]
call fcn.10017b2a
mov ecx, dword [ebp - 0x8c]
imul ecx, dword [eax]
mov dword [ebp - 0x110], ecx
push 0
call fcn.1002fa61
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.10017b25
jmp 0x1003092d
mov dword [ebp - 0x13c], 0x42c70bb7
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10030ec1
push 0
call fcn.1002a09f
pop ecx
mov byte [ebp - 0x1f], 0
push 0x730f
push 0x2fdf
push 0x117d
lea eax, [ebp - 0x1f]
push eax
push 0
call fcn.10032db2
add esp, 0x14
push 4
push 0x1000
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x94]
add ecx, dword [eax + 0xc]
push ecx
push 0x18cb
push 0x1adb
call fcn.1002766d
pop ecx
pop ecx
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x124]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x50]
call fcn.1002772f
add esp, 0xc
push 1
lea ecx, [ebp - 0x60]
call fcn.10017abd
mov dword [ebp - 4], 5
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x30], 0
jmp 0x10030f58
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x10030f71
push dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
call fcn.10017b2a
mov dword [eax], 0x91a049fe
jmp 0x10030f51
push 0
lea ecx, [ebp - 0x60]
call fcn.10017b2a
mov dword [eax], 0xa
jmp 0x10030fa4
push 0
lea ecx, [ebp - 0x60]
call fcn.10017b2a
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x60]
call fcn.10017b2a
cmp dword [eax], 1
jge 0x100311bf
push 2
lea ecx, [ebp - 0xb4]
call fcn.10017abd
mov byte [ebp - 4], 6
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x34], 0
jmp 0x10030fdf
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x10030ffb
push dword [ebp - 0x34]
lea ecx, [ebp - 0xb4]
call fcn.10017b2a
mov dword [eax], 1
jmp 0x10030fd8
mov dword [ebp - 0x10], 0
jmp 0x1003100b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x10031118
mov dword [ebp - 0xa4], 0xfffffffd
push 0
lea ecx, [ebp - 0x60]
call fcn.10017b2a
mov esi, eax
push 1
lea ecx, [ebp - 0xb4]
call fcn.10017b2a
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x1003104a
mov dword [ebp - 0x114], 1
jmp 0x10031051
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x170], eax
push 0
lea ecx, [ebp - 0x60]
call fcn.10017b2a
push dword [ebp - 0x10]
lea ecx, [ebp - 0xb4]
call fcn.10017b2a
push dword [ebp - 0x10]
lea ecx, [ebp - 0xb4]
call fcn.10017b2a
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov esi, dword [ebp - 0xa4]
push dword [ebp - 0x10]
lea ecx, [ebp - 0xb4]
call fcn.10017b2a
mov eax, dword [eax]
sub eax, esi
cmp eax, 0x1ef9
jl 0x100310b3
mov dword [ebp - 0xb8], 1
jmp 0x100310ba
and dword [ebp - 0xb8], 0
push 0
lea ecx, [ebp - 0x60]
call fcn.10017b2a
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [eax]
je 0x100310da
mov dword [ebp - 0xc0], 1
jmp 0x100310e1
and dword [ebp - 0xc0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0xb4]
call fcn.10017b2a
mov ecx, dword [ebp - 0xc0]
mov dword [eax], ecx
mov byte [ebp - 0x1d], 0
push 0xb45
push 0x4e63
push 0
lea eax, [ebp - 0x1d]
push eax
call fcn.1002ada9
add esp, 0x10
jmp 0x10031004
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
xor eax, eax
inc eax
sub eax, dword [ebp - 0x38]
jne 0x1003112c
cmp dword [ebp - 0x10], 0
je 0x1003113c
xor eax, eax
je 0x1003113c
mov dword [ebp - 0x10c], 1
jmp 0x10031143
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x158], eax
mov eax, 0xdcee0524
cmp eax, 0xfffffffe
jbe 0x10031162
mov dword [ebp - 0xc8], 1
jmp 0x10031169
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
sub eax, 3
mov dword [ebp - 0xd0], eax
push 1
lea ecx, [ebp - 0xb4]
call fcn.10017b2a
mov ecx, dword [ebp - 0xd0]
mov dword [eax], ecx
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x38], eax
mov esi, dword [ebp - 0x38]
sub esi, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0x60]
call fcn.10017b2a
sub esi, dword [eax]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb4]
call fcn.10017b25
jmp 0x10030f83
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.10017b25
lea eax, [ebp - 0x50]
push eax
push 0x939
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.1002ae17
add esp, 0x10
jmp 0x1003092d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret