Function at 0x10022dd7
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10022e0e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [eax], 0xcff0ea75
jmp 0x1002398a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x40], 0
jmp 0x10022e44
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x10022e57
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x2c], 7
jmp 0x10022e3d
mov dword [ebp - 0x20], 0
jmp 0x10022e67
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x10022ead
mov dword [ebp - 0x15c], 0xffffffff
push 0x17b4
lea eax, [ebp - 0x15c]
push eax
push 0x1d3c
push 0
push 0x620e
push 0x7445
push 0x7b1
call fcn.100296b6
add esp, 0x1c
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x2c]
mov dword [ebp - 0x14], eax
jmp 0x10022e60
mov eax, 0xaae4
test eax, eax
je 0x10022edc
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x2c]
cmp dword [ebp + eax - 0x2c], ecx
jl 0x10022edc
xor eax, eax
je 0x10022edc
mov dword [ebp - 0xc0], 1
jmp 0x10022ee3
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0xc0], eax
jg 0x10022efe
mov dword [ebp - 0x78], 1
jmp 0x10022f02
and dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x78], eax
je 0x10022f1d
mov dword [ebp - 0xdc], 1
jmp 0x10022f24
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xdc]
jl 0x10022f44
mov dword [ebp - 0x80], 1
jmp 0x10022f48
and dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp dword [ebp - 0x80], eax
je 0x10022f79
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10022f77
push 1
push 0x21c4
push 0x56c2
call fcn.10020e09
add esp, 0xc
jmp 0x10022fd7
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x10022f93
push 0x2a8
push 0
call fcn.10022cfb
pop ecx
pop ecx
mov dword [ebp - 0x14], 0
jmp 0x10022fa3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x10022fd7
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x10022fc9
push 0
push 0x5594
push 0x126d
call fcn.10022c98
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x2c], 0
je 0x10022fd5
jmp 0x10022f9c
jmp 0x10022f9c
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 4]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x54], 0x22ba3946
mov dword [ebp - 0x48], 0
jmp 0x10022ffa
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x10023010
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x1b0], 0xffffffff
jmp 0x10022ff3
mov dword [ebp - 0x54], 3
jmp 0x10023020
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x10023044
push 0
call fcn.10022d47
pop ecx
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x10023042
push 0
call fcn.10022be4
pop ecx
jmp 0x10023019
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0xa906
mov dword [ebp - 0x160], 0xfffffffd
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x50], 0
jmp 0x10023076
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x10023089
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x5c], 0xdfddae9
jmp 0x1002306f
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1002309d
push 0
call fcn.10027d97
pop ecx
cmp dword [ebp - 4], 0
jne 0x100230af
mov dword [ebp - 0x130], 1
jmp 0x100230b6
and dword [ebp - 0x130], 0
cmp dword [ebp - 4], 0
je 0x1002310f
cmp dword [ebp - 4], 0
je 0x100230d4
cmp dword [ebp - 0x10], 0
je 0x100230d4
mov dword [ebp - 0xe4], 1
jmp 0x100230db
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0x383c
jge 0x100230f3
mov dword [ebp - 0x88], 1
jmp 0x100230fa
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0
je 0x1002310f
mov dword [ebp - 0xec], 1
jmp 0x10023116
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xec], eax
jle 0x1002312d
mov dword [ebp - 0x90], 1
jmp 0x10023134
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x90], eax
je 0x1002314b
mov dword [ebp - 0xf4], 1
jmp 0x10023152
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 0xffffffff
jl 0x10023167
mov dword [ebp - 0x98], 1
jmp 0x1002316e
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x98], eax
jg 0x1002317e
or eax, 0xffffffff
je 0x10023193
mov eax, 0xfff8
test eax, eax
je 0x10023193
mov dword [ebp - 0x14c], 1
jmp 0x1002319a
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
je 0x1002345d
mov dword [ebp - 0x174], 0xffbe6269
mov dword [ebp - 0x170], 0xffbe6269
mov dword [ebp - 0x16c], 0xffbe6269
mov dword [ebp - 0x168], 0xffbe6269
mov dword [ebp - 0x10], 0
jmp 0x100231de
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1002345b
mov dword [ebp - 0x138], 0x20a048c8
mov dword [ebp - 0x140], 0xb265d632
mov dword [ebp - 0x158], 4
mov dword [ebp - 0x148], 9
mov dword [ebp - 0x164], 0xaadaf8d9
mov dword [ebp - 4], 0
jmp 0x1002322a
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x10023456
mov dword [ebp - 0x34], 0x7ea4c570
mov dword [ebp - 0x34], 0
jmp 0x1002324b
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x10023451
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x5c], 0
je 0x100233e6
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x5c], 0
je 0x10023289
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x174], 0
je 0x10023289
mov dword [ebp - 0xa0], 1
jmp 0x10023290
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0x138], 1
jl 0x100232a5
mov dword [ebp - 0xfc], 1
jmp 0x100232ac
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0xa3b
je 0x100232c4
mov dword [ebp - 0x150], 1
jmp 0x100232cb
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x5c]
mov ecx, dword [ebp - 4]
imul eax, dword [ebp + ecx*4 - 0x5c]
cmp dword [ebp - 0xa0], eax
jl 0x100232f7
mov dword [ebp - 0x104], 1
jmp 0x100232fe
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x140]
jle 0x10023321
cmp dword [ebp - 4], 0
je 0x10023321
mov dword [ebp - 0xa8], 1
jmp 0x10023328
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xa8], eax
jne 0x1002333f
mov dword [ebp - 0x10c], 1
jmp 0x10023346
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x158]
cmp dword [ebp - 0x10c], eax
jl 0x10023360
mov dword [ebp - 0xb0], 1
jmp 0x10023367
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0x942f
jl 0x1002337f
mov dword [ebp - 0x114], 1
jmp 0x10023386
and dword [ebp - 0x114], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x174]
cmp dword [ebp - 0x114], eax
jg 0x100233a7
mov dword [ebp - 0xb8], 1
jmp 0x100233ae
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x148]
cmp dword [ebp - 0xb8], eax
jg 0x100233ce
mov eax, 0x435d
test eax, eax
jne 0x100233ce
and dword [ebp - 0x11c], 0
jmp 0x100233d8
mov dword [ebp - 0x11c], 1
xor eax, eax
inc eax
je 0x100233e6
mov dword [ebp - 0x70], 1
jmp 0x100233ea
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0xffffffff
jl 0x100233fc
mov dword [ebp - 0xf0], 1
jmp 0x10023403
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x164]
cmp dword [ebp - 0xf0], eax
jle 0x1002341d
mov dword [ebp - 0xc8], 1
jmp 0x10023424
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 9
je 0x10023439
mov dword [ebp - 0x108], 1
jmp 0x10023440
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x160], eax
jmp 0x10023244
jmp 0x10023223
jmp 0x100231d7
jmp 0x1002347d
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1002347d
push 0
push 0x11f2
push 0x8c
call fcn.10021e39
add esp, 0xc
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x18], eax
and dword [ebp - 0x60], 0
jmp 0x100234a8
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
add eax, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x60], eax
jge 0x1002398a
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], 0
jne 0x1002375f
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x44], 0
jmp 0x100234de
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x100234f4
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x184], 0
jmp 0x100234d7
mov dword [ebp - 0x1c], 0
jmp 0x10023504
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x100236f5
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0xd0], 0x7f19
mov dword [ebp - 0xe8], 0x1fa4c821
mov dword [ebp - 0x124], 0xfffffffa
mov dword [ebp - 0x4c], 0
jmp 0x10023543
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jge 0x10023559
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x1a0], 0
jmp 0x1002353c
mov dword [ebp - 0x3c], 0
jmp 0x10023569
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jg 0x100236f0
mov eax, dword [ebp - 0xd0]
sub eax, dword [ebp - 0xd0]
cmp dword [ebp - 0x3c], eax
jge 0x10023590
mov dword [ebp - 0xf8], 1
jmp 0x10023597
and dword [ebp - 0xf8], 0
imul eax, dword [ebp - 0xf8], 0xfffd
cmp eax, dword [ebp - 0x1c]
jge 0x100235bb
mov eax, 0xfffe
test eax, eax
je 0x100235bb
mov dword [ebp - 0xd8], 1
jmp 0x100235c2
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0xec3
jl 0x100235da
mov dword [ebp - 0x118], 1
jmp 0x100235e1
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0x97e7c14a
jae 0x100235f9
mov dword [ebp - 0xe0], 1
jmp 0x10023600
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 1
jne 0x10023615
mov dword [ebp - 0x100], 1
jmp 0x1002361c
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x184]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x154]
mov dword [ebp + eax*4 - 0x184], ecx
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x190], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1a0], 0xe6966ef3
jb 0x10023672
mov dword [ebp - 0x110], 1
jmp 0x10023679
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x110], eax
jne 0x10023690
mov dword [ebp - 0xbc], 1
jmp 0x10023697
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0x1188
jne 0x100236ac
mov dword [ebp - 0x68], 1
jmp 0x100236b0
and dword [ebp - 0x68], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x1a0], ecx
imul eax, dword [ebp - 0x68], 0xffff
cmp eax, 2
je 0x100236d8
mov dword [ebp - 0xc4], 1
jmp 0x100236df
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x124], eax
jmp 0x10023562
jmp 0x100234fd
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x21]
push eax
push 0
call fcn.10021757
pop ecx
pop ecx
push 0x4f37
lea eax, [ebp - 0x6c]
push eax
push 0x39a3
push 0x341c
push 0x7d6c
push 0x28b1
push 0x37fc
push 0x3988
push dword [ebp - 0x18]
push 0
push 0x6b59
push dword [ebp - 0x12c]
push dword [ebp - 0xcc]
push 0x3368
push 0x4636
push 0x37db
call fcn.10027db6
add esp, 0x40
jmp 0x10023498
push 4
push 0x1000
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xcc]
add ecx, dword [eax + 0xc]
push ecx
push 0x8922
push 0x6c94
call fcn.1002038c
pop ecx
pop ecx
call eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x134]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x6c]
call fcn.1002040c
add esp, 0xc
mov dword [ebp - 8], 0xfffffff8
mov dword [ebp - 0xc], 0x63785551
mov dword [ebp - 0x64], 0x5d1cb6a7
mov eax, dword [ebp - 8]
sub eax, 6
je 0x100237df
mov eax, 0xe964
test eax, eax
je 0x100237df
mov dword [ebp - 0xd4], 1
jmp 0x100237e6
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jae 0x100237fe
mov dword [ebp - 0x74], 1
jmp 0x10023802
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x74]
jg 0x10023813
mov dword [ebp - 0x7c], 1
jmp 0x10023817
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x7c]
jl 0x1002382c
xor eax, eax
jne 0x1002382c
and dword [ebp - 0x84], 0
jmp 0x10023836
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x84], eax
je 0x1002384d
mov dword [ebp - 0x13c], 1
jmp 0x10023854
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18c], eax
imul eax, dword [ebp - 8], 0x2f3c
cmp dword [ebp - 8], eax
jne 0x10023875
mov dword [ebp - 0x8c], 1
jmp 0x1002387c
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x8c]
cmp eax, 0xd5493e6
je 0x100238a9
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x100238a7
push 0x190c
push 1
call fcn.10021757
pop ecx
pop ecx
jmp 0x100238b5
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x64], 0
je 0x1002390c
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], eax
jge 0x100238cf
mov dword [ebp - 0x94], 1
jmp 0x100238d6
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x94], eax
jge 0x100238ed
mov dword [ebp - 0x9c], 1
jmp 0x100238f4
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xfff9
jbe 0x1002390c
mov dword [ebp - 0xa4], 1
jmp 0x10023913
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0xa4]
jl 0x1002392a
mov dword [ebp - 0x144], 1
jmp 0x10023931
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x64], eax
jg 0x10023945
mov dword [ebp - 0xac], 1
jmp 0x1002394c
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xac], eax
jne 0x10023963
mov dword [ebp - 0xb4], 1
jmp 0x1002396a
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.100241e2
add esp, 0xc
jmp 0x10023498
mov esp, ebp
pop ebp
ret