Function at 0x100237bb
Capabilities:
Create pipe
Delete directory
Enumerate gui resources
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100852dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10023cfd
push 2
lea ecx, [ebp - 0x13c]
call fcn.10015766
and dword [ebp - 4], 0
mov dword [ebp - 0x48], 0xd8e5ccc9
mov dword [ebp - 0x40], 0
jmp 0x1002380e
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1002382a
push dword [ebp - 0x40]
lea ecx, [ebp - 0x13c]
call fcn.100157d3
mov dword [eax], 0xdf75dcec
jmp 0x10023807
mov dword [ebp - 0x48], 1
jmp 0x1002383a
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x10023854
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x10023852
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x10023833
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.100157ce
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x64], 0
push 1
lea ecx, [ebp - 0xec]
call fcn.10015766
mov dword [ebp - 4], 1
mov dword [ebp - 0x108], 4
mov dword [ebp - 0x38], 0
jmp 0x100238b4
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x100238d0
push dword [ebp - 0x38]
lea ecx, [ebp - 0xec]
call fcn.100157d3
mov dword [eax], 0xee7d214c
jmp 0x100238ad
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x4c], eax
je 0x100239c0
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x11c], 0xe6e7f737
mov dword [ebp - 0x124], 0xffffffff
mov dword [ebp - 0x12c], 0x90069f30
mov dword [ebp - 0x128], 0x6ba47c9d
mov dword [ebp - 0xfc], 5
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x110], 0x80db959c
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x118], 0x19adb821
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 0x104], 0
push 3
lea ecx, [ebp - 0xf8]
call fcn.10015766
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0
jmp 0x1002397b
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x10023994
push dword [ebp - 0x44]
lea ecx, [ebp - 0xf8]
call fcn.100157d3
and dword [eax], 0
jmp 0x10023974
push 2
lea ecx, [ebp - 0xf8]
call fcn.100157d3
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
call fcn.100157ce
jmp 0x100239f4
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100239f4
push 0
push 0x1ae3
push 0x26ea
push 0x3dc
push 0x6ec
push 0x920
push 0x95e
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov esi, dword [ebp - 0x4c]
inc esi
push 0
lea ecx, [ebp - 0xec]
call fcn.100157d3
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0xec]
call fcn.100157d3
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.100157ce
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x10023a94
mov dword [ebp - 0x2c], 0x831713b9
mov dword [ebp - 0x2c], 0x12
jmp 0x10023a49
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jle 0x10023a85
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xb8], 0xffffffff
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x10023a83
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10023a42
push 0
push 0xc2f
push 0
call dword [sym.imp.GDI32.dll_GetRegionData]
push 3
lea ecx, [ebp - 0x5c]
call fcn.10015766
mov dword [ebp - 4], 3
push 1
lea ecx, [ebp - 0xe0]
call fcn.10015766
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 0x357f039d
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x14], 0
jmp 0x10023ad7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10023af0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.100157d3
mov dword [eax], 0x9841b3c6
jmp 0x10023ad0
mov dword [ebp - 0x14], 0
jmp 0x10023b00
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10023b1c
push dword [ebp - 0x14]
lea ecx, [ebp - 0xe0]
call fcn.100157d3
mov dword [eax], 0x1516ea3d
jmp 0x10023af9
push 2
lea ecx, [ebp - 0x5c]
call fcn.100157d3
mov dword [eax], 0xffffffe5
jmp 0x10023b4f
push 2
lea ecx, [ebp - 0x5c]
call fcn.100157d3
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xb4]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x5c]
call fcn.100157d3
cmp dword [eax], 4
jg 0x10023b7d
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10023b7b
push 0
push 0x1083
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x10023b2e
push 2
lea ecx, [ebp - 0x5c]
call fcn.100157d3
mov esi, dword [eax]
add esi, 4
push 2
lea ecx, [ebp - 0x5c]
call fcn.100157d3
cmp esi, dword [eax]
je 0x10023c88
push 2
lea ecx, [ebp - 0x5c]
call fcn.100157d3
imul eax, dword [eax], 0
cmp eax, 0xd70c
jle 0x10023bbe
mov dword [ebp - 0x90], 1
jmp 0x10023bc5
and dword [ebp - 0x90], 0
push 2
lea ecx, [ebp - 0x5c]
call fcn.100157d3
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [eax]
jl 0x10023be2
mov dword [ebp - 0x70], 1
jmp 0x10023be6
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0x21
jl 0x10023bf8
mov dword [ebp - 0xb0], 1
jmp 0x10023bff
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0xcf7d
jle 0x10023c23
push 1
lea ecx, [ebp - 0x5c]
call fcn.100157d3
cmp dword [eax], 0
je 0x10023c23
mov dword [ebp - 0x78], 1
jmp 0x10023c27
and dword [ebp - 0x78], 0
push 2
lea ecx, [ebp - 0x5c]
call fcn.100157d3
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0xe0]
call fcn.100157d3
push 0
lea ecx, [ebp - 0xe0]
call fcn.100157d3
cmp dword [eax], 0xffffffff
je 0x10023c5e
mov dword [ebp - 0x50], 1
jmp 0x10023c62
and dword [ebp - 0x50], 0
push 0
lea ecx, [ebp - 0xe0]
call fcn.100157d3
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
jne 0x10023c88
and dword [ebp - 0x98], 0
jmp 0x10023c92
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x98], eax
jge 0x10023cac
cmp dword [ebp - 0x30], 0
jne 0x10023cac
and dword [ebp - 0x80], 0
jmp 0x10023cb3
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x80]
dec eax
cmp eax, 0x30688cdf
jl 0x10023cca
mov dword [ebp - 0xa8], 1
jmp 0x10023cd1
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.100157ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.100157ce
jmp 0x10023fbc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x3c], 0xee76f502
mov dword [ebp - 0x34], 0
jmp 0x10023d26
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x10023d3c
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x10c], 9
jmp 0x10023d1f
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x10023d59
push 0x2182
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [ebp - 0x3c], 0
jmp 0x10023d69
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x10023d9b
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10023d83
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10023d99
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x10023d62
mov dword [ebp - 0x20], 0xc176b0f7
mov dword [ebp - 0xd4], 9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0
jmp 0x10023dc3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 6
jge 0x10023f71
mov dword [ebp - 0x24], 0x3099cfe0
mov dword [ebp - 0x24], 0xffffffe6
jmp 0x10023de4
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffe4
jge 0x10023f6c
mov dword [ebp - 0x10], 0xd089
push 0xfffffffffffffffd
pop eax
test eax, eax
je 0x10023e0e
cmp dword [ebp - 0x10], 0
je 0x10023e0e
mov dword [ebp - 0xa0], 1
jmp 0x10023e15
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0xcf5a
jl 0x10023e2a
mov dword [ebp - 0x60], 1
jmp 0x10023e2e
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x10]
jle 0x10023e42
mov dword [ebp - 0x6c], 1
jmp 0x10023e46
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x6c], 5
sub eax, ecx
cmp eax, dword [ebp - 0x10]
jne 0x10023e5d
mov dword [ebp - 0x74], 1
jmp 0x10023e61
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x74], eax
jl 0x10023e72
mov dword [ebp - 0x7c], 1
jmp 0x10023e76
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x7c], eax
jne 0x10023e8a
mov dword [ebp - 0x84], 1
jmp 0x10023e91
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x84], eax
je 0x10023ea8
mov dword [ebp - 0x8c], 1
jmp 0x10023eaf
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
sub eax, 8
jne 0x10023ec3
mov eax, 0x626a
test eax, eax
je 0x10023ed5
cmp dword [ebp - 0x10], 0
je 0x10023ed5
mov dword [ebp - 0x94], 1
jmp 0x10023edc
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x94], eax
jl 0x10023ef9
cmp dword [ebp - 0x10], 0
je 0x10023ef9
mov dword [ebp - 0x9c], 1
jmp 0x10023f00
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xabf7c2f5
jbe 0x10023f18
mov dword [ebp - 0xa4], 1
jmp 0x10023f1f
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xa2b3b7be
jbe 0x10023f37
mov dword [ebp - 0xac], 1
jmp 0x10023f3e
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x10023f67
push 0
push 0x1083
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x10023ddd
jmp 0x10023dbc
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x10023f9c
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 2
jge 0x10023fbc
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0xc0]
call fcn.100157d3
mov dword [eax], 0xffff
jmp 0x10023f91
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret