Function at 0x10026923
Capabilities:
Create thread
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10027039
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x10026956
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffe4
jl 0x10026c46
mov dword [ebp - 4], 0xeec5
mov dword [ebp - 0xc8], 0x74aa0d72
mov dword [ebp - 0xc4], 0x74aa0d72
mov dword [ebp - 0xc0], 0x74aa0d72
mov dword [ebp - 0xbc], 0x74aa0d72
cmp dword [ebp - 0x18], 0xd1b9849b
jae 0x100269a4
mov dword [ebp - 0xb8], 1
jmp 0x100269ab
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xb8]
jne 0x100269c2
mov dword [ebp - 0x9c], 1
jmp 0x100269c9
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x40]
mov dword [ebp + eax - 0xc8], ecx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x40]
sub ecx, eax
cmp ecx, 0xeea5
je 0x10026a00
mov dword [ebp - 0x7c], 1
jmp 0x10026a04
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x7c], eax
jle 0x10026bf8
mov dword [ebp - 0xc], 0xfffffffd
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xc8]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xe8], eax
or eax, 0xffffffff
sub eax, 0x5922
imul eax, eax, 0xf2d
imul eax, dword [ebp - 4]
test eax, eax
jae 0x10026a52
mov dword [ebp - 0x48], 1
jmp 0x10026a56
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x48]
jl 0x10026a67
mov dword [ebp - 0x80], 1
jmp 0x10026a6b
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0x7c71
jle 0x10026a7d
mov dword [ebp - 0x50], 1
jmp 0x10026a81
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x50]
jg 0x10026abd
mov dword [ebp - 0x88], 0x1718bc69
mov dword [ebp - 0xc], 0
jmp 0x10026aa3
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x10026ab8
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
jmp 0x10026a9c
jmp 0x10026b3f
mov dword [ebp - 0xc], 0
jmp 0x10026acd
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x10026b3f
mov dword [ebp - 4], 0
jmp 0x10026ae3
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jg 0x10026b19
mov dword [ebp - 0x24], 0xf19716e2
mov dword [ebp - 0x24], 0
jmp 0x10026b00
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jg 0x10026b17
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0xc8], 0
je 0x10026b15
jmp 0x10026b17
jmp 0x10026af9
jmp 0x10026adc
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10026b3d
push 0
push 0x129e
push 0
push 0
push 0x261a
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10026ac6
cmp dword [ebp - 0x2c], 0
jne 0x10026b9d
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x2c], eax
jne 0x10026b56
mov dword [ebp - 0x58], 1
jmp 0x10026b5a
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xb8f3be
jle 0x10026b6f
mov dword [ebp - 0x90], 1
jmp 0x10026b76
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0xffffffff
je 0x10026b88
mov dword [ebp - 0x60], 1
jmp 0x10026b8c
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x60], eax
je 0x10026b9d
and dword [ebp - 0x98], 0
jmp 0x10026ba7
mov dword [ebp - 0x98], 1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xc8]
cmp eax, dword [ebp - 0x98]
jg 0x10026bc5
mov dword [ebp - 0x68], 1
jmp 0x10026bc9
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x68], eax
jge 0x10026bdd
mov dword [ebp - 0xa0], 1
jmp 0x10026be4
and dword [ebp - 0xa0], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xa0]
mov dword [ebp + eax - 0xc8], ecx
jmp 0x10026c1b
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10026c13
push 0xc57
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp dword [ebp - 0x2c], 0
je 0x10026c1b
jmp 0x10026c46
mov dword [ebp - 4], 0
jmp 0x10026c2b
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x10026c41
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xc8], 0xffffffff
jmp 0x10026c24
jmp 0x1002694f
mov dword [ebp - 0x1c], 0xeaa32b1c
mov dword [ebp - 8], 0
jmp 0x10026c5d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x10026c73
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xd0], 0xfffffffe
jmp 0x10026c56
mov dword [ebp - 8], 0
jmp 0x10026c83
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x10026c99
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x128], 5
jmp 0x10026c7c
mov dword [ebp - 8], 0
jmp 0x10026ca9
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x10026cbf
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xf4], 0x7cec
jmp 0x10026ca2
mov dword [ebp - 0x1c], 0
jmp 0x10026ccf
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x10027028
mov dword [ebp - 0x10], 0xabbf9acf
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0xd4], 0x66969e96
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x10]
sub eax, 0x52a5ae63
cmp eax, dword [ebp - 0x1c]
jl 0x10026d1a
mov dword [ebp - 0x70], 1
jmp 0x10026d1e
and dword [ebp - 0x70], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xd0]
cmp dword [ebp - 0x70], eax
jne 0x10026d3c
mov dword [ebp - 0xa8], 1
jmp 0x10026d43
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0xa8]
cmp eax, 0xc1464f16
je 0x10026d5d
mov dword [ebp - 0x78], 1
jmp 0x10026d61
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x78], eax
jle 0x10026d75
mov dword [ebp - 0xb0], 1
jmp 0x10026d7c
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
sub eax, 0x47d1afd0
je 0x10026da2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xd0], 0
je 0x10026da2
mov dword [ebp - 0x34], 1
jmp 0x10026da6
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x1c]
dec eax
je 0x10026ee8
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x84], 0xfffe
jne 0x10026de7
cmp dword [ebp - 0x10], 0
je 0x10026de7
mov dword [ebp - 0xa4], 1
jmp 0x10026dee
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xa4], eax
jl 0x10026e11
cmp dword [ebp - 0x10], 0
je 0x10026e11
cmp dword [ebp - 0x10], 0
je 0x10026e11
mov dword [ebp - 0x8c], 1
jmp 0x10026e18
and dword [ebp - 0x8c], 0
mov dword [ebp - 0x14], 0x5290ce96
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x8c]
jg 0x10026e36
mov dword [ebp - 0xb4], 1
jmp 0x10026e3d
and dword [ebp - 0xb4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xd0]
cmp dword [ebp - 0xb4], eax
jle 0x10026e68
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10026e66
push 0
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x10026ee6
mov dword [ebp - 0x28], 0x430688cd
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
jg 0x10026e83
mov dword [ebp - 0x94], 1
jmp 0x10026e8a
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 2
ja 0x10026e9f
mov dword [ebp - 0xac], 1
jmp 0x10026ea6
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x10]
neg eax
cmp eax, 0x16c28cbd
jl 0x10026ebb
mov dword [ebp - 0x38], 1
jmp 0x10026ebf
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x38]
jle 0x10026ed9
mov dword [ebp - 0x3c], 1
jmp 0x10026edd
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
jmp 0x10026f58
mov dword [ebp - 0xf8], 0xa227283a
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0x118], 8
mov dword [ebp - 0x114], 8
mov dword [ebp - 0x110], 8
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x44], 0x111919b1
mov dword [ebp - 0x30], 0
jmp 0x10026f3b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x10026f51
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x134], 0xade45a91
jmp 0x10026f34
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x100], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xf4], 0
je 0x10026fdc
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xd0], 0x4f7d9fd5
jl 0x10026f8d
mov dword [ebp - 0x4c], 1
jmp 0x10026f91
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x4c], eax
jge 0x10026fa5
mov dword [ebp - 0x54], 1
jmp 0x10026fa9
and dword [ebp - 0x54], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0x54], eax
je 0x10026fc4
mov dword [ebp - 0x5c], 1
jmp 0x10026fc8
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x5c]
test eax, eax
je 0x10026fdc
mov dword [ebp - 0x64], 1
jmp 0x10026fe0
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x14], eax
jg 0x10026ff7
mov dword [ebp - 0x6c], 1
jmp 0x10026ffb
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0x6c]
jge 0x1002700f
mov dword [ebp - 0x74], 1
jmp 0x10027013
and dword [ebp - 0x74], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp + eax - 0x128], ecx
jmp 0x10026cc8
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
jmp 0x10027080
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax]
test eax, eax
je 0x10027080
push 0x25eb
push 0
push 0x1bef
push 0x1a80
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtFloodFill]
mov esp, ebp
pop ebp
ret