Function at 0x10030816
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100309e7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x38], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.100187be
mov eax, dword [eax]
neg eax
je 0x10030999
push 1
mov ecx, dword [ebp - 0x14]
call fcn.100187be
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax], 5
jle 0x100308b3
mov dword [ebp - 0xd0], 1
jmp 0x100308ba
and dword [ebp - 0xd0], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.100187be
mov esi, eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.100187be
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x100308e2
mov dword [ebp - 0x88], 1
jmp 0x100308e9
and dword [ebp - 0x88], 0
mov esi, dword [ebp - 0x88]
neg esi
push 0
mov ecx, dword [ebp - 0x14]
call fcn.100187be
sub esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x14]
call fcn.100187be
imul esi, dword [eax]
neg esi
cmp esi, 0xfffffff9
jne 0x1003091d
mov dword [ebp - 0xd8], 1
jmp 0x10030924
and dword [ebp - 0xd8], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.100187be
mov ecx, dword [ebp - 0xd8]
cmp ecx, dword [eax]
jne 0x10030944
mov dword [ebp - 0xa4], 1
jmp 0x1003094b
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0
je 0x10030960
mov dword [ebp - 0x12c], 1
jmp 0x10030967
and dword [ebp - 0x12c], 0
mov eax, 0x7374fd5
neg eax
cmp dword [ebp - 0xd0], eax
jle 0x10030985
push 1
mov ecx, dword [ebp - 0x14]
call fcn.100187be
cmp dword [eax], 0
je 0x10030999
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
je 0x10030999
mov dword [ebp - 0x118], 1
jmp 0x100309a0
and dword [ebp - 0x118], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.100187be
mov eax, 0x1f0ef2f3
add eax, 0xef72d4ea
je 0x100309c9
mov eax, 0xae3d
test eax, eax
je 0x100309c9
push 0
mov ecx, dword [ebp - 0x14]
call fcn.100187be
mov eax, dword [ebp - 0x38]
mov esi, dword [eax]
push 1
mov ecx, dword [ebp - 0x14]
call fcn.100187be
sub esi, dword [eax]
mov eax, dword [ebp - 0x10c]
mov dword [eax], esi
jmp 0x10031307
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc8], eax
push 1
lea ecx, [ebp - 0x60]
call fcn.10018732
and dword [ebp - 4], 0
mov dword [ebp - 0x100], 0x28d5feaf
mov dword [ebp - 0x10], 0
jmp 0x10030a33
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10030a4c
push dword [ebp - 0x10]
lea ecx, [ebp - 0x60]
call fcn.100187be
mov dword [eax], 0x297
jmp 0x10030a2c
mov dword [ebp - 0x10], 0
jmp 0x10030a5c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10030a72
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x174], 0xef5d870a
jmp 0x10030a55
mov dword [ebp - 0x10], 0
jmp 0x10030a82
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10030a98
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x134], 0x5158018d
jmp 0x10030a7b
mov byte [ebp - 0x23], 0
lea eax, [ebp - 0x23]
push eax
push 0
call fcn.1002d77d
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x60]
call fcn.100187be
cmp dword [eax], 0
je 0x10030aca
mov eax, 0xa9b6
test eax, eax
je 0x10030aca
mov dword [ebp - 0x40], 1
jmp 0x10030ace
and dword [ebp - 0x40], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x40]
mov dword [ebp + eax - 0x174], ecx
mov esi, dword [ebp - 0x40]
sub esi, 7
push 0
lea ecx, [ebp - 0x60]
call fcn.100187be
sub esi, dword [eax]
mov dword [ebp - 0x70], esi
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0x134], ecx
cmp dword [ebp - 0x70], 0x13e1
jl 0x10030b14
mov dword [ebp - 0x74], 1
jmp 0x10030b18
and dword [ebp - 0x74], 0
push 0
lea ecx, [ebp - 0x60]
call fcn.100187be
mov eax, dword [eax]
cmp eax, dword [ebp - 0x74]
jne 0x10030b45
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x134], 0
je 0x10030b45
mov dword [ebp - 0xcc], 1
jmp 0x10030b4c
and dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0x60]
call fcn.100187be
mov ecx, dword [ebp - 0xcc]
cmp ecx, dword [eax]
jne 0x10030b69
mov dword [ebp - 0x7c], 1
jmp 0x10030b6d
and dword [ebp - 0x7c], 0
push 0
lea ecx, [ebp - 0x60]
call fcn.100187be
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [eax]
je 0x10030b97
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x174], 0
jne 0x10030b97
and dword [ebp - 0xac], 0
jmp 0x10030ba1
mov dword [ebp - 0xac], 1
push 0
lea ecx, [ebp - 0x60]
call fcn.100187be
mov esi, eax
push 0
lea ecx, [ebp - 0x60]
call fcn.100187be
mov eax, dword [eax]
mov ecx, dword [ebp - 0xac]
lea eax, [ecx + eax - 0x78e94a4d]
cmp dword [esi], eax
jne 0x10030bd6
mov dword [ebp - 0x84], 1
jmp 0x10030bdd
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x100], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.100187b9
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x54], 0
jmp 0x10030c20
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x54], eax
jge 0x10031307
push 3
lea ecx, [ebp - 0xf0]
call fcn.10018732
mov dword [ebp - 4], 1
mov dword [ebp - 0x80], 0xcadfb1af
mov dword [ebp - 0x68], 0xf6872920
mov dword [ebp - 0x34], 0
jmp 0x10030c64
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x10030c7d
push dword [ebp - 0x34]
lea ecx, [ebp - 0xf0]
call fcn.100187be
or dword [eax], 0xffffffff
jmp 0x10030c5d
push 2
lea ecx, [ebp - 0xf0]
call fcn.100187be
mov dword [eax], 0x18
jmp 0x10030cb6
push 2
lea ecx, [ebp - 0xf0]
call fcn.100187be
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc4]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0xf0]
call fcn.100187be
cmp dword [eax], 2
jne 0x10030f0a
push 1
lea ecx, [ebp - 0x50]
call fcn.10018732
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
jmp 0x10030cea
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10030d03
push dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
call fcn.100187be
mov dword [eax], 0xfffffffc
jmp 0x10030ce3
mov dword [ebp - 0x18], 0
jmp 0x10030d13
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10030d29
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x158], 0xc06e3268
jmp 0x10030d0c
push 0
lea ecx, [ebp - 0x50]
call fcn.100187be
cmp dword [eax], 1
jb 0x10030e84
push 0
lea ecx, [ebp - 0x50]
call fcn.100187be
cmp dword [eax], 0
je 0x10030e2c
xor eax, eax
inc eax
je 0x10030d6f
push 0
lea ecx, [ebp - 0x50]
call fcn.100187be
cmp dword [eax], 0
je 0x10030d6f
mov dword [ebp - 0x8c], 1
jmp 0x10030d76
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x8c], eax
jg 0x10030d8d
mov dword [ebp - 0xb4], 1
jmp 0x10030d94
and dword [ebp - 0xb4], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.100187be
mov ecx, dword [ebp - 0xb4]
sub ecx, dword [eax]
test ecx, ecx
jle 0x10030db6
mov dword [ebp - 0x94], 1
jmp 0x10030dbd
and dword [ebp - 0x94], 0
push 2
lea ecx, [ebp - 0xf0]
call fcn.100187be
mov eax, dword [eax]
cmp eax, dword [ebp - 0x94]
jg 0x10030de0
mov dword [ebp - 0xd4], 1
jmp 0x10030de7
and dword [ebp - 0xd4], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.100187be
mov ecx, dword [ebp - 0xd4]
cmp ecx, dword [eax]
jg 0x10030e07
mov dword [ebp - 0x9c], 1
jmp 0x10030e0e
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x68], eax
mov eax, 0x6559
test eax, eax
je 0x10030e2c
mov dword [ebp - 0xbc], 1
jmp 0x10030e33
and dword [ebp - 0xbc], 0
push 2
lea ecx, [ebp - 0xf0]
call fcn.100187be
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [eax]
imul eax, ecx, 0
add eax, 0xe834
je 0x10030e62
push 5
pop eax
test eax, eax
je 0x10030e62
mov dword [ebp - 0x6c], 1
jmp 0x10030e66
and dword [ebp - 0x6c], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.100187be
mov esi, dword [ebp - 0x6c]
imul esi, dword [eax]
push 0
lea ecx, [ebp - 0x50]
call fcn.100187be
add esi, dword [eax]
jne 0x10030e93
cmp dword [ebp - 0x68], 0
jne 0x10030e93
mov dword [ebp - 0x78], 1
jmp 0x10030e97
and dword [ebp - 0x78], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.100187be
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [eax]
jg 0x10030eb4
mov dword [ebp - 0x128], 1
jmp 0x10030ebb
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x150], eax
push 0
lea ecx, [ebp - 0x50]
call fcn.100187be
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [eax]
mov dword [ebp + ecx - 0x158], eax
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x10030ef9
push 0x1ec5
push 0x135d
call dword [sym.imp.USER32.dll_SetCaretPos]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.100187b9
jmp 0x10030c92
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.100187b9
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], 0
jne 0x10030ff3
push 0x7d1e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0xe17
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.1002bafa
add esp, 0x1c
push 4
lea ecx, [ebp - 0x140]
call fcn.10018732
mov dword [ebp - 4], 3
mov dword [ebp - 0x110], 0x1fc3eee2
mov dword [ebp - 0x120], 0x7d65121a
mov dword [ebp - 0x3c], 0
jmp 0x10030f88
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x10030fa1
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x140]
call fcn.100187be
and dword [eax], 0
jmp 0x10030f81
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x10030fbb
push 0x6d83
push 0
call fcn.100344ae
pop ecx
pop ecx
push 0
push 0x36a7
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.1002a9dc
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.100187b9
jmp 0x10030c10
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0x32ffab8c
push 2
lea ecx, [ebp - 0xe4]
call fcn.10018732
mov dword [ebp - 4], 4
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x14c], 8
push 1
lea ecx, [ebp - 0x168]
call fcn.10018732
mov byte [ebp - 4], 5
mov dword [ebp - 0x144], 0x2ad14ca7
mov dword [ebp - 0xfc], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe4]
push eax
push 0
call fcn.1002b31e
add esp, 0xc
mov dword [ebp - 0x2c], 0
jmp 0x10031073
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x10031089
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x17c], 1
jmp 0x1003106c
lea eax, [ebp - 0x2c]
push eax
push 0x5463
push 0
lea eax, [ebp - 0x168]
push eax
push 0x187b
call fcn.100329d9
add esp, 0x14
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10031210
mov eax, 0xc8748afa
test eax, eax
je 0x10031207
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x148], eax
mov eax, 0xffff
test eax, eax
jne 0x100310ef
mov eax, 0xe11a
test eax, eax
jne 0x100310ef
and dword [ebp - 0x64], 0
jmp 0x100310f6
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x64], eax
jg 0x1003110a
mov dword [ebp - 0x90], 1
jmp 0x10031111
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x90]
imul eax, dword [ebp - 0x20]
test eax, eax
jne 0x10031131
cmp dword [ebp - 0x20], 0
jne 0x10031131
and dword [ebp - 0x98], 0
jmp 0x1003113b
mov dword [ebp - 0x98], 1
mov esi, dword [ebp - 0x28]
imul esi, dword [ebp - 0x98]
push 0
lea ecx, [ebp - 0xe4]
call fcn.100187be
cmp esi, dword [eax]
jl 0x10031162
mov dword [ebp - 0xa0], 1
jmp 0x10031169
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xa0], eax
jl 0x10031180
mov dword [ebp - 0xa8], 1
jmp 0x10031187
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0xa8]
neg eax
je 0x100311a4
xor eax, eax
je 0x100311a4
mov dword [ebp - 0x114], 1
jmp 0x100311ab
and dword [ebp - 0x114], 0
push 0
lea ecx, [ebp - 0xe4]
call fcn.100187be
mov esi, eax
push 0
lea ecx, [ebp - 0xe4]
call fcn.100187be
mov ecx, dword [esi]
add ecx, dword [eax]
jne 0x100311dc
cmp dword [ebp - 0x28], 0
jne 0x100311dc
and dword [ebp - 0xb0], 0
jmp 0x100311e6
mov dword [ebp - 0xb0], 1
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x10031207
push 1
lea ecx, [ebp - 0xe4]
call fcn.100187be
cmp dword [eax], 0
jne 0x10031210
and dword [ebp - 0xb8], 0
jmp 0x1003121a
mov dword [ebp - 0xb8], 1
push 0
lea ecx, [ebp - 0xe4]
call fcn.100187be
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [eax]
jl 0x1003123d
mov dword [ebp - 0xc0], 1
jmp 0x10031244
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xfc]
push eax
push 0
push 0x5b99
push 0x5382
call fcn.100316ec
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x168]
call fcn.100187b9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.100187b9
push 4
push 0x1000
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc8]
add ecx, dword [eax + 0xc]
push ecx
push 0x3498
push 0x30b4
call fcn.10028584
pop ecx
pop ecx
call eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x104]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x44]
call fcn.10028646
add esp, 0xc
push 0
push 0x49b8
push 0x4ca4
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1cb3
push 0x36a6
push 0x6041
call fcn.1002b444
add esp, 0x20
jmp 0x10030c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret