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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100863c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c8
push esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x6c], 0x13b91020
push 3
lea ecx, [ebp - 0x2ac]
call fcn.10015766
and dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
jmp 0x1004a6e5
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1004a701
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2ac]
call fcn.100157d3
mov dword [eax], 0x751c
jmp 0x1004a6de
mov dword [ebp - 0x6c], 0xf
jmp 0x1004a711
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jl 0x1004a738
mov dword [ebp - 0x240], 0xffffffff
push 0
lea ecx, [ebp - 0x2ac]
call fcn.100157d3
mov eax, dword [eax]
mov dword [ebp - 0x240], eax
jmp 0x1004a70a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ac]
call fcn.100157ce
mov dword [ebp - 0x14], 0xc7bf0b96
push 1
lea ecx, [ebp - 0x1d4]
call fcn.10015766
mov dword [ebp - 4], 1
mov dword [ebp - 0xcc], 0xffffffff
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x19c], 1
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x74], 0x40e708be
mov dword [ebp - 0x208], 0xfffffffd
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x54], 0
jmp 0x1004a7b9
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1004a7d2
push dword [ebp - 0x54]
lea ecx, [ebp - 0x1d4]
call fcn.100157d3
and dword [eax], 0
jmp 0x1004a7b2
cmp dword [ebp - 0x14], 0
je 0x1004a955
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2f4], eax
mov eax, 0xffffc4ac
sub eax, dword [ebp - 0x14]
cmp eax, 0x6d8
jl 0x1004a809
mov dword [ebp - 0x13c], 1
jmp 0x1004a810
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x13c], eax
jl 0x1004a827
mov dword [ebp - 0x1c4], 1
jmp 0x1004a82e
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1c4], eax
jle 0x1004a845
mov dword [ebp - 0x1c8], 1
jmp 0x1004a84c
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2240
jg 0x1004a86c
push 0xfffffffffffffff9
pop eax
test eax, eax
jne 0x1004a86c
and dword [ebp - 0xe8], 0
jmp 0x1004a876
mov dword [ebp - 0xe8], 1
cmp dword [ebp - 0xe8], 0x9b78
je 0x1004a88e
mov dword [ebp - 0x160], 1
jmp 0x1004a895
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0x14]
jne 0x1004a8b0
mov dword [ebp - 0xd8], 1
jmp 0x1004a8b7
and dword [ebp - 0xd8], 0
push 0
lea ecx, [ebp - 0x1d4]
call fcn.100157d3
mov ecx, dword [ebp - 0xd8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
neg eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x14]
cmp eax, 0xfffffffd
je 0x1004a8fd
mov dword [ebp - 0xf0], 1
jmp 0x1004a904
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x1004a92a
xor eax, eax
jne 0x1004a92a
push 0
lea ecx, [ebp - 0x1d4]
call fcn.100157d3
push 0
lea ecx, [ebp - 0x1d4]
call fcn.100157d3
push 0
lea ecx, [ebp - 0x1d4]
call fcn.100157d3
cmp dword [eax], 0
je 0x1004a955
mov dword [ebp - 0xf8], 1
jmp 0x1004a95c
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x14]
neg eax
cmp eax, 0x254
je 0x1004a98f
mov dword [ebp - 0x108], 1
jmp 0x1004a996
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x208]
cmp dword [ebp - 0x5c], eax
jl 0x1004a9ad
mov dword [ebp - 0x100], 1
jmp 0x1004a9b4
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
sub eax, 0xf2c9
jne 0x1004a9d0
cmp dword [ebp - 0x3c], 0
jne 0x1004a9d0
and dword [ebp - 0x1a0], 0
jmp 0x1004a9da
mov dword [ebp - 0x1a0], 1
mov esi, dword [ebp - 0x74]
push 0
lea ecx, [ebp - 0x1d4]
call fcn.100157d3
mov ecx, dword [ebp - 0x1a0]
add ecx, dword [eax]
cmp esi, ecx
jg 0x1004aa02
mov dword [ebp - 0x210], 1
jmp 0x1004aa09
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x108], eax
jge 0x1004aa35
mov dword [ebp - 0x23c], 1
jmp 0x1004aa3c
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0xcc]
mov dword [ebp - 0x3c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.100157ce
push 2
lea ecx, [ebp - 0x34c]
call fcn.10015766
mov dword [ebp - 4], 2
mov dword [ebp - 0x48], 0x57976326
mov dword [ebp - 0x314], 0xa485bf25
mov dword [ebp - 0x31c], 0xffffffff
mov dword [ebp - 0x7c], 0
jmp 0x1004aa9f
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jge 0x1004aabb
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x34c]
call fcn.100157d3
mov dword [eax], 0xffff
jmp 0x1004aa98
mov dword [ebp - 0x48], 1
jmp 0x1004aacb
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1004aaea
mov dword [ebp - 0x170], 0xbeb7
mov eax, dword [ebp - 0x170]
dec eax
mov dword [ebp - 0x170], eax
jmp 0x1004aac4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34c]
call fcn.100157ce
mov dword [ebp - 0x98], 0x13b91020
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x324], 0x1e66c619
mov dword [ebp - 0x32c], 0x3a4df6f9
mov dword [ebp - 0x334], 0xe9378f1e
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x20], 0
jmp 0x1004ab45
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1004ab5b
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x3c4], 9
jmp 0x1004ab3e
mov dword [ebp - 0x20], 0
jmp 0x1004ab6b
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x1004ab81
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x3d4], 6
jmp 0x1004ab64
mov dword [ebp - 0x84], 0
jmp 0x1004ab9a
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffffffe3
je 0x1004ad92
mov dword [ebp - 0xa8], 0x67a876e6
mov dword [ebp - 0x394], 0xcc92ea21
mov dword [ebp - 0x39c], 0x32b96ce0
mov dword [ebp - 0x360], 0xffffffff
mov dword [ebp - 0x2b8], 0x395e2de4
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x2c0], 1
mov dword [ebp - 0x1b8], 0x915bb002
mov dword [ebp - 0xa8], 0
jmp 0x1004ac10
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 8
jne 0x1004ad80
mov dword [ebp - 0x70], 0xf25cbd94
mov dword [ebp - 0x70], 0
jmp 0x1004ac34
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xfffffff6
jg 0x1004ad5d
push 4
lea ecx, [ebp - 0x220]
call fcn.10015766
mov dword [ebp - 4], 3
mov dword [ebp - 0x90], 0
jmp 0x1004ac6b
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 4
jge 0x1004ac8d
push dword [ebp - 0x90]
lea ecx, [ebp - 0x220]
call fcn.100157d3
mov dword [eax], 0x946507e
jmp 0x1004ac5e
push 1
lea ecx, [ebp - 0x220]
call fcn.100157d3
and dword [eax], 0
jmp 0x1004acc3
push 1
lea ecx, [ebp - 0x220]
call fcn.100157d3
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x110]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x220]
call fcn.100157d3
cmp dword [eax], 1
jg 0x1004ad49
push 3
lea ecx, [ebp - 0x270]
call fcn.10015766
mov byte [ebp - 4], 4
mov dword [ebp - 0x78], 0
jmp 0x1004acf6
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jge 0x1004ad12
push dword [ebp - 0x78]
lea ecx, [ebp - 0x270]
call fcn.100157d3
mov dword [eax], 0xffff
jmp 0x1004acef
push 0
lea ecx, [ebp - 0x270]
call fcn.100157d3
cmp dword [eax], 0
je 0x1004ad35
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.100157ce
jmp 0x1004ad49
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.100157ce
jmp 0x1004ac9f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.100157ce
jmp 0x1004ac2d
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1004ad7b
push 0
push 0x8c0
push 0x59d
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
jmp 0x1004ac03
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
jmp 0x1004ab8d
push 3
lea ecx, [ebp - 0x2a0]
call fcn.10015766
mov dword [ebp - 4], 5
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x200], 0xffffffff
mov dword [ebp - 0x40], 0
jmp 0x1004adc7
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffed
jl 0x1004adf3
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x200], eax
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1004adf1
push 0
push 0xc2f
push 0
call dword [sym.imp.GDI32.dll_GetRegionData]
jmp 0x1004adc0
mov dword [ebp - 0xa0], 0xffffffff
mov dword [ebp - 0xa0], 1
jmp 0x1004ae16
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x1b
je 0x1004ae68
mov dword [ebp - 0x204], 0x2fd4914d
mov dword [ebp - 0x244], 0x555b7cef
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x244], eax
mov byte [ebp - 0x37], 0
movzx eax, byte [ebp - 0x37]
test eax, eax
je 0x1004ae66
push 0x6bc
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
jmp 0x1004ae09
mov dword [ebp - 0x80], 0
jmp 0x1004ae78
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jge 0x1004ae94
push dword [ebp - 0x80]
lea ecx, [ebp - 0x2a0]
call fcn.100157d3
mov dword [eax], 0x751c
jmp 0x1004ae71
mov dword [ebp - 0x98], 0xf
jmp 0x1004aead
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 1
jl 0x1004af6a
mov dword [ebp - 0x20c], 0xffffffff
push 2
lea ecx, [ebp - 0x35c]
call fcn.10015766
mov byte [ebp - 4], 6
mov dword [ebp - 0x64], 0xd8e5ccc9
mov dword [ebp - 0x88], 0
jmp 0x1004aef5
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x1004af17
push dword [ebp - 0x88]
lea ecx, [ebp - 0x35c]
call fcn.100157d3
mov dword [eax], 0xdf75dcec
jmp 0x1004aee8
mov dword [ebp - 0x64], 1
jmp 0x1004af27
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x1004af41
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1004af3f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x1004af20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x35c]
call fcn.100157ce
push 0
lea ecx, [ebp - 0x2a0]
call fcn.100157d3
mov eax, dword [eax]
mov dword [ebp - 0x20c], eax
jmp 0x1004aea0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a0]
call fcn.100157ce
mov dword [ebp - 0x18], 0x3ae35568
mov dword [ebp - 0xc4], 0xc02a3062
mov dword [ebp - 0xd4], 0x4ed09eb
mov dword [ebp - 0x214], 0xfffffffd
mov dword [ebp - 0x18], 6
jmp 0x1004afae
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x13
jne 0x1004b202
mov dword [ebp - 0x1f4], 0x7c2076a
mov dword [ebp - 0x1f0], 0x7c2076a
mov dword [ebp - 0x1ec], 0x7c2076a
mov dword [ebp - 0x1e8], 0x7c2076a
mov dword [ebp - 0x4c], 0
jmp 0x1004aff0
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jge 0x1004b006
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x3bc], 7
jmp 0x1004afe9
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1f4]
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
je 0x1004b02d
mov dword [ebp - 0x118], 1
jmp 0x1004b034
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x118]
jle 0x1004b04b
mov dword [ebp - 0x178], 1
jmp 0x1004b052
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x178], eax
je 0x1004b076
xor eax, eax
je 0x1004b076
cmp dword [ebp - 0x18], 0
je 0x1004b076
mov dword [ebp - 0x120], 1
jmp 0x1004b07d
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 0x2aba
jne 0x1004b095
mov dword [ebp - 0x1a8], 1
jmp 0x1004b09c
and dword [ebp - 0x1a8], 0
cmp dword [ebp - 0x1a8], 0xae4c7ba3
ja 0x1004b0b4
mov dword [ebp - 0x128], 1
jmp 0x1004b0bb
and dword [ebp - 0x128], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1f4]
cmp dword [ebp - 0x128], eax
jne 0x1004b0dc
mov dword [ebp - 0x180], 1
jmp 0x1004b0e3
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x180], eax
je 0x1004b0fa
mov dword [ebp - 0x260], 1
jmp 0x1004b101
and dword [ebp - 0x260], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1f4]
mov dword [ebp - 0x2c8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3bc]
mov dword [ebp - 0x130], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x130]
mov dword [ebp + eax - 0x3bc], ecx
mov eax, dword [ebp - 0x130]
sub eax, 7
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x1f4]
jle 0x1004b15d
mov dword [ebp - 0x1c0], 1
jmp 0x1004b164
and dword [ebp - 0x1c0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1f4]
cmp dword [ebp - 0x1c0], eax
je 0x1004b185
mov dword [ebp - 0x138], 1
jmp 0x1004b18c
and dword [ebp - 0x138], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1f4]
imul eax, dword [ebp - 0x138]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x18], eax
jge 0x1004b1bd
mov dword [ebp - 0x188], 1
jmp 0x1004b1c4
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x188], eax
jg 0x1004b1de
mov dword [ebp - 0x140], 1
jmp 0x1004b1e5
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xd4], eax
jmp 0x1004afa7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x1c], 0x3ae35568
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x1b0], 0
push 1
lea ecx, [ebp - 0x27c]
call fcn.10015766
mov dword [ebp - 4], 7
mov dword [ebp - 0x328], 4
mov dword [ebp - 0x50], 0
jmp 0x1004b254
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x1004b270
push dword [ebp - 0x50]
lea ecx, [ebp - 0x27c]
call fcn.100157d3
mov dword [eax], 0xee7d214c
jmp 0x1004b24d
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
cmp dword [ebp - 0xbc], eax
je 0x1004b375
mov dword [ebp - 0x2d0], 1
mov dword [ebp - 0x2e0], 0xe6e7f737
mov dword [ebp - 0x2d8], 0xffffffff
mov dword [ebp - 0x2dc], 0x90069f30
mov dword [ebp - 0x2ec], 0x6ba47c9d
mov dword [ebp - 0x2e4], 5
mov dword [ebp - 0x2b0], 1
mov dword [ebp - 0x330], 0x80db959c
mov dword [ebp - 0x2f0], 1
mov dword [ebp - 0x398], 0x19adb821
mov dword [ebp - 0x2f8], 0xffffffff
mov dword [ebp - 0x338], 0
push 3
lea ecx, [ebp - 0x294]
call fcn.10015766
mov byte [ebp - 4], 8
mov dword [ebp - 0x58], 0
jmp 0x1004b327
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x1004b340
push dword [ebp - 0x58]
lea ecx, [ebp - 0x294]
call fcn.100157d3
and dword [eax], 0
jmp 0x1004b320
push 2
lea ecx, [ebp - 0x294]
call fcn.100157d3
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x148]
mov dword [ecx], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.100157ce
jmp 0x1004b3a9
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1004b3a9
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 - 0xbc]
inc esi
push 0
lea ecx, [ebp - 0x27c]
call fcn.100157d3
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x27c]
call fcn.100157d3
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.100157ce
mov dword [ebp - 0xc8], 0xc02a3062
push 3
lea ecx, [ebp - 0xb8]
call fcn.10015766
mov dword [ebp - 4], 9
push 1
lea ecx, [ebp - 0x230]
call fcn.10015766
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x60], 0x357f039d
mov dword [ebp - 0xfc], 0xffffffff
mov dword [ebp - 0x28], 0
jmp 0x1004b42d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1004b449
push dword [ebp - 0x28]
lea ecx, [ebp - 0xb8]
call fcn.100157d3
mov dword [eax], 0x9841b3c6
jmp 0x1004b426
mov dword [ebp - 0x28], 0
jmp 0x1004b459
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1004b475
push dword [ebp - 0x28]
lea ecx, [ebp - 0x230]
call fcn.100157d3
mov dword [eax], 0x1516ea3d
jmp 0x1004b452
push 2
lea ecx, [ebp - 0xb8]
call fcn.100157d3
mov dword [eax], 0xffffffe5
jmp 0x1004b4ae
push 2
lea ecx, [ebp - 0xb8]
call fcn.100157d3
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x190]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0xb8]
call fcn.100157d3
cmp dword [eax], 4
jg 0x1004b4df
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1004b4dd
push 0
push 0x1083
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x1004b48a
push 2
lea ecx, [ebp - 0xb8]
call fcn.100157d3
mov esi, dword [eax]
add esi, 4
push 2
lea ecx, [ebp - 0xb8]
call fcn.100157d3
cmp esi, dword [eax]
je 0x1004b61a
push 2
lea ecx, [ebp - 0xb8]
call fcn.100157d3
imul eax, dword [eax], 0
cmp eax, 0xd70c
jle 0x1004b529
mov dword [ebp - 0x150], 1
jmp 0x1004b530
and dword [ebp - 0x150], 0
push 2
lea ecx, [ebp - 0xb8]
call fcn.100157d3
mov ecx, dword [ebp - 0x150]
cmp ecx, dword [eax]
jl 0x1004b553
mov dword [ebp - 0x198], 1
jmp 0x1004b55a
and dword [ebp - 0x198], 0
cmp dword [ebp - 0x198], 0x21
jl 0x1004b56f
mov dword [ebp - 0x158], 1
jmp 0x1004b576
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0xcf7d
jle 0x1004b5a0
push 1
lea ecx, [ebp - 0xb8]
call fcn.100157d3
cmp dword [eax], 0
je 0x1004b5a0
mov dword [ebp - 0xe0], 1
jmp 0x1004b5a7
and dword [ebp - 0xe0], 0
push 2
lea ecx, [ebp - 0xb8]
call fcn.100157d3
mov ecx, dword [ebp - 0xe0]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x230]
call fcn.100157d3
push 0
lea ecx, [ebp - 0x230]
call fcn.100157d3
cmp dword [eax], 0xffffffff
je 0x1004b5e7
mov dword [ebp - 0xc0], 1
jmp 0x1004b5ee
and dword [ebp - 0xc0], 0
push 0
lea ecx, [ebp - 0x230]
call fcn.100157d3
mov ecx, dword [ebp - 0xc0]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x60], eax
jne 0x1004b61a
and dword [ebp - 0xe4], 0
jmp 0x1004b624
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0xe4], eax
jge 0x1004b641
cmp dword [ebp - 0x60], 0
jne 0x1004b641
and dword [ebp - 0xec], 0
jmp 0x1004b64b
mov dword [ebp - 0xec], 1
mov eax, dword [ebp - 0xec]
dec eax
cmp eax, 0x30688cdf
jl 0x1004b665
mov dword [ebp - 0xf4], 1
jmp 0x1004b66c
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x230]
call fcn.100157ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.100157ce
mov dword [ebp - 0xd0], 0x4ed09eb
mov dword [ebp - 0x8c], 0x831713b9
mov dword [ebp - 0x8c], 0x12
jmp 0x1004b6c3
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jle 0x1004b702
mov dword [ebp - 0x238], 1
mov dword [ebp - 0x224], 0xffffffff
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x224], eax
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1004b700
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1004b6b6
mov dword [ebp - 0x248], 0xfffffffd
mov dword [ebp - 0x1c], 6
jmp 0x1004b71c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x13
jne 0x1004be58
mov dword [ebp - 0x9c], 0xee76f502
mov dword [ebp - 0x94], 0
jmp 0x1004b749
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 1
jge 0x1004b765
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x300], 9
jmp 0x1004b73c
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1004b782
push 0x2182
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [ebp - 0x9c], 0
jmp 0x1004b79b
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jg 0x1004b7d0
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1004b7b8
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1004b7ce
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x1004b78e
mov dword [ebp - 0x1e4], 0x7c2076a
mov dword [ebp - 0x1e0], 0x7c2076a
mov dword [ebp - 0x1dc], 0x7c2076a
mov dword [ebp - 0x1d8], 0x7c2076a
mov dword [ebp - 0x34], 0xc176b0f7
mov dword [ebp - 0x1f8], 9
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0
jmp 0x1004b820
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 6
jge 0x1004b9f2
mov dword [ebp - 0x44], 0x3099cfe0
mov dword [ebp - 0x44], 0xffffffe6
jmp 0x1004b841
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffe4
jge 0x1004b9ed
mov dword [ebp - 0x24], 0xd089
push 0xfffffffffffffffd
pop eax
test eax, eax
je 0x1004b86b
cmp dword [ebp - 0x24], 0
je 0x1004b86b
mov dword [ebp - 0x104], 1
jmp 0x1004b872
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0xcf5a
jl 0x1004b88a
mov dword [ebp - 0x10c], 1
jmp 0x1004b891
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x24]
jle 0x1004b8ab
mov dword [ebp - 0x114], 1
jmp 0x1004b8b2
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x24]
imul ecx, dword [ebp - 0x114], 5
sub eax, ecx
cmp eax, dword [ebp - 0x24]
jne 0x1004b8cf
mov dword [ebp - 0x11c], 1
jmp 0x1004b8d6
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x11c], eax
jl 0x1004b8ed
mov dword [ebp - 0x124], 1
jmp 0x1004b8f4
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x124], eax
jne 0x1004b90b
mov dword [ebp - 0x12c], 1
jmp 0x1004b912
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x12c], eax
je 0x1004b929
mov dword [ebp - 0x134], 1
jmp 0x1004b930
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
sub eax, 8
jne 0x1004b944
mov eax, 0x626a
test eax, eax
je 0x1004b956
cmp dword [ebp - 0x24], 0
je 0x1004b956
mov dword [ebp - 0xdc], 1
jmp 0x1004b95d
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xdc], eax
jl 0x1004b97a
cmp dword [ebp - 0x24], 0
je 0x1004b97a
mov dword [ebp - 0x144], 1
jmp 0x1004b981
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0xabf7c2f5
jbe 0x1004b999
mov dword [ebp - 0x14c], 1
jmp 0x1004b9a0
and dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0xa2b3b7be
jbe 0x1004b9b8
mov dword [ebp - 0x154], 1
jmp 0x1004b9bf
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1f8], eax
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1004b9e8
push 0
push 0x1083
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x1004b83a
jmp 0x1004b819
mov dword [ebp - 0xa4], 0
jmp 0x1004ba0b
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 4
jge 0x1004ba27
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x3ac], 7
jmp 0x1004b9fe
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1e4]
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], eax
je 0x1004ba4e
mov dword [ebp - 0x15c], 1
jmp 0x1004ba55
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x15c]
jle 0x1004ba6c
mov dword [ebp - 0x164], 1
jmp 0x1004ba73
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x164], eax
je 0x1004ba97
xor eax, eax
je 0x1004ba97
cmp dword [ebp - 0x1c], 0
je 0x1004ba97
mov dword [ebp - 0x16c], 1
jmp 0x1004ba9e
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 0x2aba
jne 0x1004bab6
mov dword [ebp - 0x174], 1
jmp 0x1004babd
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 0xae4c7ba3
ja 0x1004bad5
mov dword [ebp - 0x17c], 1
jmp 0x1004badc
and dword [ebp - 0x17c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1e4]
cmp dword [ebp - 0x17c], eax
jne 0x1004bafd
mov dword [ebp - 0x184], 1
jmp 0x1004bb04
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x184], eax
je 0x1004bb1b
mov dword [ebp - 0x234], 1
jmp 0x1004bb22
and dword [ebp - 0x234], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1e4]
mov dword [ebp - 0x308], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3ac]
mov dword [ebp - 0x18c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x18c]
mov dword [ebp + eax - 0x3ac], ecx
mov eax, dword [ebp - 0x18c]
sub eax, 7
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x1e4]
jle 0x1004bb7e
mov dword [ebp - 0x194], 1
jmp 0x1004bb85
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1e4]
cmp dword [ebp - 0x194], eax
je 0x1004bba6
mov dword [ebp - 0x1a4], 1
jmp 0x1004bbad
and dword [ebp - 0x1a4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1e4]
imul eax, dword [ebp - 0x1a4]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
cmp dword [ebp - 0x1c], eax
jge 0x1004bbde
mov dword [ebp - 0x1ac], 1
jmp 0x1004bbe5
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x1ac], eax
jg 0x1004bbff
mov dword [ebp - 0x1b4], 1
jmp 0x1004bc06
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x258], 0xf7e2799a
mov dword [ebp - 0x254], 0xf7e2799a
mov dword [ebp - 0x250], 0xf7e2799a
mov dword [ebp - 0x24c], 0xf7e2799a
mov dword [ebp - 0x340], 0xfffffff9
push 2
lea ecx, [ebp - 0x38c]
call fcn.10015766
mov dword [ebp - 4], 0xb
mov dword [ebp - 0xac], 0
jmp 0x1004bc71
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 2
jge 0x1004bc93
push dword [ebp - 0xac]
lea ecx, [ebp - 0x38c]
call fcn.100157d3
mov dword [eax], 0x44d0289a
jmp 0x1004bc64
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x258], 0x10
jmp 0x1004bcbe
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x258]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x258], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x258], 0x19
je 0x1004be38
push 2
lea ecx, [ebp - 0x37c]
call fcn.10015766
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x310], 0xffffffff
mov dword [ebp - 0x390], 1
mov dword [ebp - 0x318], 0xfffffffc
mov dword [ebp - 0x350], 0xb101aae4
mov dword [ebp - 0x2b4], 1
mov dword [ebp - 0x2bc], 0x8b8ae505
mov dword [ebp - 0x2c4], 0xffbefa5f
mov dword [ebp - 0x2cc], 0x272ba75a
mov dword [ebp - 0x2d4], 0xaa53f0d3
push 3
lea ecx, [ebp - 0x36c]
call fcn.10015766
mov byte [ebp - 4], 0xd
push 1
lea ecx, [ebp - 0x288]
call fcn.10015766
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x10], 0
jmp 0x1004bd6e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1004bd8a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x37c]
call fcn.100157d3
mov dword [eax], 8
jmp 0x1004bd67
mov dword [ebp - 0x10], 0
jmp 0x1004bd9a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004bdb6
push dword [ebp - 0x10]
lea ecx, [ebp - 0x36c]
call fcn.100157d3
mov dword [eax], 0xfffffffc
jmp 0x1004bd93
mov dword [ebp - 0x10], 0
jmp 0x1004bdc6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1004bde2
push dword [ebp - 0x10]
lea ecx, [ebp - 0x288]
call fcn.100157d3
mov dword [eax], 0x46e74a6
jmp 0x1004bdbf
push 0
lea ecx, [ebp - 0x288]
call fcn.100157d3
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x288]
call fcn.100157ce
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x36c]
call fcn.100157ce
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x37c]
call fcn.100157ce
jmp 0x1004bca5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38c]
call fcn.100157ce
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
jmp 0x1004b715
push 0
mov ecx, dword [ebp - 0x25c]
call fcn.100157d3
mov ecx, dword [ebp - 0x1fc]
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret