Function at 0x10026878
Capabilities:
Enumerate pe sections
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081847
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100268b0
push 0
push 0x7ff
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x10027346
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x11c], 0x37a5
mov dword [ebp - 0x48], 0x1a
jmp 0x100268e9
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x1c
jge 0x10026b42
push 2
lea ecx, [ebp - 0x118]
call fcn.10015351
and dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
push 0x1ad2
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.10029d44
add esp, 0x10
mov dword [ebp - 0x34], 0
jmp 0x1002692e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jge 0x10026944
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x184], 0x6d4f2887
jmp 0x10026927
push 1
lea ecx, [ebp - 0x118]
call fcn.100153f2
and dword [eax], 0
jmp 0x1002697a
push 1
lea ecx, [ebp - 0x118]
call fcn.100153f2
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x108]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x118]
call fcn.100153f2
cmp dword [eax], 0x13
jge 0x10026b2e
mov dword [ebp - 0x20], 0x9ed9ba07
mov dword [ebp - 0x124], 0x37855514
mov dword [ebp - 0x20], 3
jmp 0x100269b1
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10026b29
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x174], 0xffffffff
mov dword [ebp - 0xf4], 0x64bda99d
mov dword [ebp - 0x84], 0x37ae9f90
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x184], 0
jne 0x10026a03
mov dword [ebp - 0xdc], 1
jmp 0x10026a0a
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x184], 0
je 0x10026a3f
cmp dword [ebp - 0x6c], 0
je 0x10026a3f
xor eax, eax
je 0x10026a3f
cmp dword [ebp - 0x6c], 0
je 0x10026a3f
mov dword [ebp - 0xe4], 1
jmp 0x10026a46
and dword [ebp - 0xe4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x184]
cmp dword [ebp - 0xe4], eax
jge 0x10026a63
mov dword [ebp - 0x74], 1
jmp 0x10026a67
and dword [ebp - 0x74], 0
push 1
lea ecx, [ebp - 0x118]
call fcn.100153f2
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax]
jg 0x10026a87
mov dword [ebp - 0xec], 1
jmp 0x10026a8e
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
add eax, 0xcaea
jne 0x10026aaa
cmp dword [ebp - 0x174], 0
jne 0x10026aaa
and dword [ebp - 0x7c], 0
jmp 0x10026ab1
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x124], eax
jne 0x10026ae9
mov eax, 0xe105
test eax, eax
je 0x10026ae9
mov dword [ebp - 0xfc], 1
jmp 0x10026af0
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x184]
sub eax, dword [ebp - 0xfc]
cmp eax, 1
jg 0x10026b11
mov dword [ebp - 0x8c], 1
jmp 0x10026b18
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x144], eax
jmp 0x100269aa
jmp 0x10026956
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.100153d6
jmp 0x100268e2
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10026b5c
push 0x29f3
push 0
call fcn.10029495
pop ecx
pop ecx
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x3c], 0xe83c773
mov dword [ebp - 0x4c], 0
jmp 0x10026b7f
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x10026b95
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x1c4], 0xfffffffa
jmp 0x10026b78
mov byte [ebp - 0x1b], 0
push 0
push 0x63c6
lea eax, [ebp - 0x1b]
push eax
push 0x3cf0
call fcn.1002a71b
add esp, 0x10
mov dword [ebp - 0x3c], 2
jmp 0x10026bc1
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10026be3
mov dword [ebp - 0x12c], 0x23afc371
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.1002507a
pop ecx
pop ecx
jmp 0x10026bba
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x10], 0xfffffff3
jmp 0x10026c20
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffed
jl 0x10026edf
mov dword [ebp - 0x14c], 0x1d933bd3
mov dword [ebp - 0x50], 0
jmp 0x10026c44
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 4
jge 0x10026c5a
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x1b4], 0xfd8f2714
jmp 0x10026c3d
cmp dword [ebp - 0x10], 0x161ab6ec
jne 0x10026c6f
mov dword [ebp - 0xf8], 1
jmp 0x10026c76
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x188], eax
mov eax, 0xf780
cmp eax, 0xfffffffa
jne 0x10026c95
mov dword [ebp - 0x104], 1
jmp 0x10026c9c
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
neg eax
je 0x10026cb8
cmp dword [ebp - 0x10], 0
je 0x10026cb8
mov dword [ebp - 0x94], 1
jmp 0x10026cbf
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 1
jle 0x10026ce1
xor eax, eax
jne 0x10026ce1
and dword [ebp - 0xa0], 0
jmp 0x10026ceb
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xa0]
jge 0x10026d08
cmp dword [ebp - 0x14c], 0
jne 0x10026d08
and dword [ebp - 0x9c], 0
jmp 0x10026d12
mov dword [ebp - 0x9c], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x9c], eax
jg 0x10026d29
mov dword [ebp - 0xd8], 1
jmp 0x10026d30
and dword [ebp - 0xd8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1b4]
cmp dword [ebp - 0xd8], eax
jne 0x10026d50
mov dword [ebp - 0xa8], 1
jmp 0x10026d57
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x800ff68e
jbe 0x10026d6f
mov dword [ebp - 0x100], 1
jmp 0x10026d76
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x100], eax
jle 0x10026d8d
mov dword [ebp - 0xb0], 1
jmp 0x10026d94
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xb0], eax
je 0x10026dab
mov dword [ebp - 0x160], 1
jmp 0x10026db2
and dword [ebp - 0x160], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1b4], 1
jle 0x10026dcd
mov dword [ebp - 0xe0], 1
jmp 0x10026dd4
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xe0]
jge 0x10026deb
mov dword [ebp - 0xb8], 1
jmp 0x10026df2
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xb8], eax
jge 0x10026e09
mov dword [ebp - 0xc0], 1
jmp 0x10026e10
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0xc0]
je 0x10026e2a
mov dword [ebp - 0xe8], 1
jmp 0x10026e31
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0xd88c
jge 0x10026e49
mov dword [ebp - 0xc8], 1
jmp 0x10026e50
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push 4
pop ecx
shl ecx, 1
imul eax, dword [ebp + ecx - 0x1b4]
test eax, eax
je 0x10026e8f
mov dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0
je 0x10026e82
jmp 0x10026edf
cmp dword [ebp - 0x28], 0
je 0x10026e8d
jmp 0x10026c19
jmp 0x10026ed2
mov byte [ebp - 0x21], 0
push 0
lea eax, [ebp - 0x21]
push eax
call fcn.1002a4a8
pop ecx
pop ecx
mov dword [ebp - 0x28], 3
jmp 0x10026eb0
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x10026ed2
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10026ed0
push 0x6e7f
push 0
call fcn.1002cb17
pop ecx
pop ecx
jmp 0x10026ea9
cmp dword [ebp - 0x10], 0
je 0x10026eda
jmp 0x10026edf
jmp 0x10026c19
and dword [ebp - 0x54], 0
jmp 0x10026ef5
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x54], eax
jge 0x10027346
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x58], 0x2263
mov dword [ebp - 0x30], 0x7a4129b8
mov dword [ebp - 0x170], 0xd0336d06
mov dword [ebp - 0x18], 0
jmp 0x10026f36
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10026f4c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x15c], 0xba7b7e80
jmp 0x10026f2f
mov dword [ebp - 0x18], 0
jmp 0x10026f5c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10026f72
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x140], 0xffffffff
jmp 0x10026f55
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x19c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x15c]
mov dword [ebp - 0x1a0], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x30]
cmp dword [ebp + eax - 0x15c], ecx
jle 0x10026fac
mov dword [ebp - 0x60], 1
jmp 0x10026fb0
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x60], eax
jge 0x10026fc4
mov dword [ebp - 0x150], 1
jmp 0x10026fcb
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18c], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x15c], 0xfffffff6
jge 0x10026ff0
mov dword [ebp - 0xd0], 1
jmp 0x10026ff7
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xd0]
sub ecx, dword [ebp - 0x30]
sub eax, ecx
jne 0x10027016
cmp dword [ebp - 0x2c], 0
jne 0x10027016
and dword [ebp - 0xf0], 0
jmp 0x10027020
mov dword [ebp - 0xf0], 1
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xf0], eax
jg 0x10027037
mov dword [ebp - 0x98], 1
jmp 0x1002703e
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x98], eax
jg 0x10027055
mov dword [ebp - 0xa4], 1
jmp 0x1002705c
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xa4]
jge 0x10027073
mov dword [ebp - 0xac], 1
jmp 0x1002707a
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xac]
add ecx, 7
add eax, ecx
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0x15c]
jne 0x100270a9
mov dword [ebp - 0xb4], 1
jmp 0x100270b0
and dword [ebp - 0xb4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x15c]
add eax, dword [ebp - 0xb4]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x140], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x10027116
push 0x464a
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x7556
lea eax, [ebp - 0xbc]
push eax
push 0x15fd
push 0
call fcn.10024fc9
add esp, 0x20
jmp 0x10026ee5
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xbc]
add ecx, dword [eax + 0xc]
push ecx
push 0xaf48
push 0xb64a
call fcn.100228f2
pop ecx
pop ecx
call eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x164]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x5c]
call fcn.10022968
add esp, 0xc
mov dword [ebp - 0x44], 0xaaeb9ae7
mov dword [ebp - 0x68], 0xfffffff7
mov dword [ebp - 0x13c], 4
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x1a4], 0xc8100c43
mov dword [ebp - 0x88], 8
push 4
lea ecx, [ebp - 0x198]
call fcn.10015351
mov dword [ebp - 4], 1
mov dword [ebp - 0x128], 0
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x198]
push eax
push 0x2876
call fcn.100250b6
add esp, 0x10
mov dword [ebp - 0x38], 0
jmp 0x100271ec
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10027202
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x16c], 7
jmp 0x100271e5
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x16c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x134], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x16c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x16c], eax
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x134]
jge 0x10027256
mov dword [ebp - 0xc4], 1
jmp 0x1002725d
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0
je 0x10027272
mov dword [ebp - 0xcc], 1
jmp 0x10027279
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0xcc]
jle 0x10027290
mov dword [ebp - 0xd4], 1
jmp 0x10027297
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x13c]
cmp dword [ebp - 0xd4], eax
jg 0x100272ae
mov dword [ebp - 0x64], 1
jmp 0x100272b2
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x64], eax
jge 0x100272c3
mov dword [ebp - 0x70], 1
jmp 0x100272c7
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x70]
jge 0x100272e1
mov dword [ebp - 0x78], 1
jmp 0x100272e5
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0x78], eax
je 0x100272f9
mov dword [ebp - 0x80], 1
jmp 0x100272fd
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0
jge 0x1002730f
mov dword [ebp - 0x90], 1
jmp 0x10027316
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x88]
imul eax, dword [ebp - 0x90]
mov dword [ebp - 0x128], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.100153d6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 8], ecx
jmp 0x10026ee5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret