Function at 0x10019cae
Capabilities:
Accept command line arguments
Connect pipe

Disassembly:
mov eax, 0x1007f950
call fcn.1007f0f8
sub esp, 0x18c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc0], edx
push 5
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x1c], ebx
pop esi
jmp 0x10019ce4
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x190], esi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x10019cd7
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x10019cfa
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x188], 0xb90da115
mov dword [ebp - 0x28], 0x2c03342e
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], 0xb6182eac
mov dword [ebp - 0x28], ebx
jmp 0x10019d27
mov dword [ebp - 0x2c], 0x63126ff2
dec dword [ebp - 0x2c]
dec dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0xffffffe3
jl 0x10019d1a
push 1
pop esi
cmp dword [ebp - 0x30], ebx
je 0x10019d3c
mov ecx, esi
cmp dword [ebp - 0x38], ebx
jne 0x10019d3e
mov ecx, ebx
mov eax, dword [ebp - 0x30]
push 2
pop edi
sub eax, ecx
je 0x10019d57
mov dword [ebp - 0x18], 0xbbd0a708
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
jmp 0x10019da8
push edi
lea ecx, [ebp - 0xfc]
call fcn.10017e9c
mov dword [ebp - 0x1c], ebx
jmp 0x10019d7b
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xfc]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x10019d68
mov dword [ebp - 0x38], ebx
jmp 0x10019d98
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xfc]
mov dword [eax + ecx*4], 0xfffffffd
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], edi
jl 0x10019d85
lea ecx, [ebp - 0xfc]
call fcn.10017f1e
mov dword [ebp - 0x1c], 0xfffffff8
mov dword [ebp - 0x1c], esi
jmp 0x10019dd4
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x10019dc3
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x10019dd1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 7
jle 0x10019db4
mov dword [ebp - 0x24], 0x25b0e446
mov eax, 0x5bb2c213
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], 0xcc895931
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], 0x95e
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
push 3
mov dword [ebp - 0x20], ebx
pop ecx
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], ebx
jl 0x10019e4d
mov dword [ebp - 0x28], 0x10f7a73
cmp dword [ebp - 0xec], ebx
jne 0x10019e4d
mov dword [ebp - 0x28], ebx
jmp 0x10019e43
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0xf0], ebx
jne 0x10019e48
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], ecx
jle 0x10019e34
dec dword [ebp - 0x20]
jns 0x10019e20
mov dword [ebp - 0x18], 0xa4f6
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xfe30f587
sbb eax, eax
neg eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], 0x2c
jl 0x1001a34f
jmp 0x10019e8c
push 3
pop ecx
mov dword [ebp - 0x14], 0x7730f94f
mov dword [ebp - 0x28], 0xfffffffa
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], 0x6f80
mov dword [ebp - 0x1c], ebx
jmp 0x10019eb7
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x64], 0xec2e0cf5
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ecx
jl 0x10019ea9
mov dword [ebp - 0x14], ebx
jmp 0x10019ecf
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x64], 0x831e42a4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x10019ec1
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x28], 0xffffffff
sbb eax, eax
inc eax
add eax, 0xe075
je 0x10019ef7
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x60]
xor edx, edx
mov eax, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp eax, esi
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0xfffffff6
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], 4
jmp 0x1001a338
mov dword [ebp - 0x1c], 0xfff7
mov eax, 0x5bb2c213
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
push 3
mov dword [ebp - 0x1c], ebx
pop ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], ebx
jl 0x10019f95
mov dword [ebp - 0x3c], 0x10f7a73
cmp dword [ebp - 0xdc], ebx
jne 0x10019f95
mov dword [ebp - 0x3c], ebx
jmp 0x10019f8b
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + eax*4 - 0xe0], ebx
jne 0x10019f90
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], ecx
jle 0x10019f7c
dec dword [ebp - 0x1c]
jns 0x10019f68
push ecx
lea ecx, [ebp - 0x12c]
call fcn.10017e9c
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x2c], ebx
push 3
call fcn.10017e9c
mov dword [ebp - 0x14], ebx
jmp 0x10019fce
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x44], 0xfffffff6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10019fc0
mov dword [ebp - 0x14], ebx
jmp 0x10019fe7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x114]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10019fd8
mov dword [ebp - 0x44], ebx
cmp dword [ebp - 0x44], 0x1c
jge 0x1001a1d0
mov dword [ebp - 0x14], 0x7ad95e17
mov dword [ebp - 0x40], 0xb5a26cde
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], 0xffffffec
jne 0x1001a1bd
mov edi, dword [ebp - 0x114]
mov dword [ebp - 0x38], 0x290be443
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x1c], ebx
jmp 0x1001a03f
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x9c], 0xa0b8
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x1001a02e
mov dword [ebp - 0x38], ebx
jmp 0x1001a124
mov dword [ebp - 0x3c], 0xcb143e95
mov dword [ebp - 0x2c], 0xc5764361
mov dword [ebp - 0x3c], 2
cmp dword [ebp - 0x3c], ebx
jl 0x1001a121
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x1c], ebx
jmp 0x1001a0bb
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001a096
push 0x1a28
push ebx
push 0x140e
push 0x86c
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001a0b8
push 0x2000
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jle 0x1001a077
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov ecx, dword [ebp + eax*4 - 0x9c]
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
mov eax, dword [ebp - 0x38]
setg dl
xor ecx, ecx
cmp eax, 0xbc42
mov eax, dword [ebp - 0x1c]
setg cl
sub edx, ecx
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
cmp ecx, 0xffffffff
setle al
xor edx, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + eax*4 - 0x9c]
mov eax, dword [ebp - 0x44]
cmp ecx, eax
setge dl
xor eax, eax
cmp edx, dword [ebp - 0x2c]
setne al
mov dword [ebp - 0x2c], eax
dec dword [ebp - 0x3c]
jns 0x1001a06b
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0xfffffff9
jl 0x1001a04d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x44]
dec ecx
neg ecx
sbb ecx, ecx
inc ecx
sub eax, ecx
neg eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
cmp eax, ecx
setl dl
imul edx, dword [ebp - 0x98]
test edx, edx
jne 0x1001a15f
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x14], ebx
je 0x1001a17a
mov ecx, esi
cmp dword [ebp - 0x94], ebx
jne 0x1001a17c
mov ecx, ebx
mov eax, dword [ebp - 0x44]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x40]
setl dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0xfffffffd
jle 0x1001a19c
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
inc eax
imul eax, eax, 0x385e
mov dword [edi + 8], eax
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffec
je 0x1001a01b
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], 0x1c
jl 0x10019ffa
push 2
pop edi
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001a1e7
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x114]
call fcn.10017f1e
push esi
lea ecx, [ebp - 0x138]
call fcn.10017e9c
mov dword [ebp - 0x18], 0xceafd94
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], 0xf054a20a
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
jmp 0x1001a238
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x138]
mov dword [eax + ecx*4], 0x9f9b3198
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1001a225
mov dword [ebp - 0x14], ebx
jmp 0x1001a253
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xbc], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1001a242
mov dword [ebp - 0x14], ebx
jmp 0x1001a26e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x198], 0x37ac
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1001a25d
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x138]
mov dword [eax], ebx
call fcn.10017f1e
mov dword [ebp - 0x1c], ebx
jmp 0x1001a29a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x12c]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x1001a28b
mov dword [ebp - 0x1c], 0xfffd
cmp dword [ebp - 0x1c], ebx
jne 0x1001a30d
mov eax, dword [ebp - 0x20]
xor edx, edx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
cmp ecx, eax
setle dl
mov dword [ebp - 0x20], edx
xor edx, edx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
cmp eax, ecx
setg dl
sub edx, 0x34e1054d
neg edx
sbb edx, edx
inc edx
cmp edx, dword [ebp - 0x30]
je 0x1001a2e3
mov ecx, esi
cmp dword [ebp - 0x20], ebx
jne 0x1001a2e5
mov ecx, ebx
mov eax, dword [ebp - 0x12c]
mov dword [eax + 4], ecx
test ecx, ecx
je 0x1001a2fe
cmp dword [ebp - 0x24], ebx
je 0x1001a2fe
mov ecx, esi
cmp dword [ebp - 0x20], ebx
jne 0x1001a300
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
cmp dword [ebp - 0x18], ecx
jg 0x1001a30f
mov eax, esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x12c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
or dword [ebp - 4], 0xffffffff
call fcn.10017f1e
dec dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0xfffffff9
jge 0x10019f36
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x2c
jge 0x10019e89
mov dword [ebp - 0x34], 0x8c176b0f
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x14], 5
push esi
call fcn.10017e9c
or edx, 0xffffffff
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], ebx
jmp 0x1001a387
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xa8]
mov dword [eax + ecx*4], 0xfffffff7
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x1001a374
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
je 0x1001a403
mov dword [ebp - 0x30], 0x1546
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], 0x9f48
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
sub eax, 9
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
push 8
pop ecx
sub ecx, eax
mov eax, dword [ebp - 0xa8]
mov dword [eax], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ebx
jmp 0x1001a3fc
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xa8]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1001a3ed
jmp 0x1001a443
mov dword [ebp - 0x34], edx
xor edx, edx
mov dword [ebp - 0x30], 0x1e2cd849
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xa8]
sub ecx, 0x4b13
cmp ecx, dword [eax]
setg dl
xor eax, eax
cmp edx, 0xfffffff8
setl al
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001a45e
push 0x225b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
lea ecx, [ebp - 0xa8]
call fcn.10017f1e
push edi
lea ecx, [ebp - 0x70]
call fcn.10017e9c
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], 0x3fa75c1
mov dword [ebp - 0x18], 0x3185
mov dword [ebp - 0x18], 0x9beb0647
mov dword [ebp - 0x18], 0xfffffff8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], 0xfaaaeb9a
mov dword [ebp - 0x18], 0xed680444
mov dword [ebp - 0x18], 0x7dfe4d9e
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001a4bb
push ebx
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringByteLen]
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x3c], 0xe1df
mov dword [ebp - 0x28], 7
push 3
call fcn.10017e9c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], 0xca9f8d1
push esi
call fcn.10017e9c
mov byte [ebp - 4], 4
mov eax, 0xffff
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], 0xe128
mov dword [ebp - 0x24], ebx
jmp 0x1001a518
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*4], 0x89b5
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 3
jl 0x1001a508
mov dword [ebp - 0x24], ebx
jmp 0x1001a536
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x144]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jl 0x1001a523
mov dword [ebp - 0x28], 0x1a
jmp 0x1001a732
mov dword [ebp - 0x1c], 0xffab8c3a
mov dword [ebp - 0x30], 0xfffffff8
mov dword [ebp - 0x34], 0x62ee6d05
mov dword [ebp - 0x38], 0xa9bacde9
mov dword [ebp - 0x1c], ebx
jmp 0x1001a5bd
mov dword [ebp - 0x18], 0x6eff
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x18], esi
push esi
call fcn.10017e9c
mov dword [ebp - 0x20], ebx
jmp 0x1001a596
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x150]
mov dword [eax + ecx*4], 0x19e95d1c
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x1001a583
dec dword [ebp - 0x14]
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001a5af
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
lea ecx, [ebp - 0x150]
call fcn.10017f1e
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jle 0x1001a568
mov dword [ebp - 0x14], ebx
jmp 0x1001a726
mov dword [ebp - 0x18], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
cmp dword [eax + ecx*4], ebx
je 0x1001a6d6
mov dword [ebp - 0x18], 0x6de21e5
lea ecx, [ebp - 0x15c]
push 3
call fcn.10017e9c
mov dword [ebp - 0x20], ebx
jmp 0x1001a608
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x15c]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x1001a5f9
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001a621
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
cmp dword [eax + ecx*4], ebx
je 0x1001a6b9
mov eax, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
sub ecx, 0x20250f4b
cmp ecx, eax
setge dl
xor ecx, ecx
add edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
cmp edx, dword [eax + esi*4]
mov eax, dword [ebp - 0x30]
setne cl
mov dword [ebp - 0x18], ecx
xor ecx, ecx
cmp dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x58]
setge cl
xor edx, edx
imul ecx, ecx, 0x566e
cmp ecx, dword [eax + edi*4]
setg dl
cmp edx, dword [ebp - 0x28]
jl 0x1001a693
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
cmp dword [eax + ecx*4], ebx
je 0x1001a693
xor esi, esi
inc esi
mov eax, esi
jmp 0x1001a698
xor esi, esi
mov eax, ebx
inc esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
push 2
pop edi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x40]
test eax, eax
setns cl
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x15c]
call fcn.10017f1e
jmp 0x1001a71c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x58]
cmp dword [eax + ecx*4], ebx
je 0x1001a6f0
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov edx, 0xfff7
mov eax, dword [ebp - 0x58]
sub edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x28]
add eax, edx
jne 0x1001a70e
mov eax, dword [ebp - 0x58]
cmp dword [eax], ebx
mov eax, ebx
je 0x1001a710
mov eax, esi
cmp eax, 0xd92edcdd
sbb eax, eax
neg eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jle 0x1001a5ca
dec dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0xfffffffe
jge 0x1001a547
lea ecx, [ebp - 0x144]
call fcn.10017f1e
lea ecx, [ebp - 0x58]
call fcn.10017f1e
mov dword [ebp - 0x38], 0x2fd2d1a4
mov dword [ebp - 0x34], 0xfffffff6
mov dword [ebp - 0x1c], 0x76d2
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], ebx
jmp 0x1001a77c
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x70]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x1001a76f
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0xfffffff7
sete cl
xor edx, edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x70]
cmp ecx, dword [eax]
setl dl
mov dword [ebp - 0x34], edx
xor edx, edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
cmp eax, ecx
mov eax, 0xfffc
setge dl
imul edx, dword [ebp - 0x1c]
cmp eax, edx
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x3c]
jne 0x1001a892
cmp dword [ebp - 0x3c], ebx
je 0x1001a892
mov dword [ebp - 0x2c], 0x26d8f9c3
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x24], ebx
jl 0x1001a904
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], ebx
jne 0x1001a862
dec dword [ebp - 0x2c]
xor edx, edx
imul ecx, dword [ebp - 0x3c], 0xffff
mov eax, dword [ebp - 0x30]
cmp ecx, eax
mov eax, dword [ebp - 0x30]
setle dl
xor ecx, ecx
add edx, 0xa2c6
cmp eax, edx
mov eax, dword [ebp - 0x2c]
setle cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x70]
setle dl
xor ecx, ecx
cmp dword [eax], edx
setl cl
imul eax, ecx, 0xf947
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x30]
imul eax, dword [ecx + edx*4]
cmp eax, 0xfc02
jge 0x1001a862
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x38], ebx
jl 0x1001a887
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001a882
push 0x1bac
push ebx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
dec dword [ebp - 0x38]
jns 0x1001a86d
dec dword [ebp - 0x24]
jns 0x1001a7fc
jmp 0x1001a904
mov dword [ebp - 0x18], 0xc74f
mov ecx, 0xffff
mov dword [ebp - 0x20], 0x821d2a6a
mov dword [ebp - 0x18], 9
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, 0xb50d
setne cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
setg dl
mov dword [ebp - 0x18], edx
xor edx, edx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
setle dl
xor eax, eax
cmp edx, 0x7bfe1a27
setle al
mov dword [ebp - 0x24], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10017f1e
push dword [ebp - 0xbc]
movdqa xmm0, xmmword [0x10009390]
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0xb8], ebx
push eax
push ebx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb4], ebx
movdqu xmmword [ebp - 0x16c], xmm0
mov dword [ebp - 0xb0], ebx
call fcn.1001943c
mov dword [ebp - 0x18], 0x63446b7d
mov dword [ebp - 0x20], ebx
jmp 0x1001a96c
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x78], 0xfd5464b5
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x1001a95e
mov edi, dword [ebp - 0xb8]
mov dword [edi + 8], esi
mov eax, dword [edi + 8]
xor edx, edx
mov dword [ebp - 0x28], 0x2c36544d
mov ecx, dword [ebp + eax*4 - 0x78]
mov eax, dword [edi + 8]
mov eax, dword [ebp + eax*4 - 0x78]
cmp ecx, eax
mov eax, dword [edi + 8]
sete dl
mov eax, dword [ebp + eax*4 - 0x78]
imul eax, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x28], 0x11
jmp 0x1001aaa4
mov dword [ebp - 0x24], 0x87f6fb80
mov dword [ebp - 0x18], 0x2d14b432
mov dword [ebp - 0x24], ebx
jmp 0x1001aa97
mov dword [ebp - 0x18], 0x259dba5c
mov dword [ebp - 0x20], ebx
jmp 0x1001a9e2
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x84], 0x7cc42477
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x1001a9d1
mov dword [ebp - 0x7c], 0xffffffef
jmp 0x1001aa84
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 0x40], 0x2426f379
mov dword [ebp - 0x2c], 0xa966896e
mov dword [ebp - 0x1c], 0xffffffed
jmp 0x1001aa7b
mov dword [ebp - 0x18], 0x95e19f8c
cmp dword [ebp - 0x24], ebx
je 0x1001aa43
mov eax, dword [ebp - 0x24]
mov ecx, esi
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
sub eax, 0xf49dcb7b
neg eax
sbb eax, eax
inc eax
cmp eax, 0x3279329b
jg 0x1001aa45
mov ecx, ebx
mov eax, dword [ebp - 0x24]
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x18]
setle dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
setg cl
cmp dword [ebp - 0x28], ecx
jge 0x1001aa73
mov eax, esi
cmp dword [ebp - 0x7c], ebx
jne 0x1001aa75
mov eax, ebx
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xc
jg 0x1001aa12
dec dword [ebp - 0x7c]
cmp dword [ebp - 0x7c], 0xffffffea
jl 0x1001a9f4
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
dec dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xffffffe2
jge 0x1001a9c5
dec dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0xfffffffe
jg 0x1001a9af
dec dword [edi + 8]
jns 0x1001a97a
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001aace
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea ecx, [ebp - 0xb8]
call fcn.10017f1e
mov dword [ebp - 0x40], 0xcdbe8e56
lea ecx, [ebp - 0x108]
or edi, 0xffffffff
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0x6210b999
mov dword [ebp - 0x18], 0xd15de05d
mov dword [ebp - 0x18], 0xd00585b
mov dword [ebp - 0x2c], 0x4ccb63e
mov dword [ebp - 0x28], 0xdead9bac
push esi
call fcn.10017e9c
mov dword [ebp - 0x18], 0x6f94
mov dword [ebp - 0x1c], 0x140d
mov dword [ebp - 0x20], 0xfffffffb
mov dword [ebp - 0x20], ebx
jmp 0x1001ab42
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x108]
mov dword [eax + ecx*4], 0xe94f934f
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x1001ab2f
inc dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x108]
mov dword [eax], ecx
je 0x1001ab7b
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
cmp esi, eax
sbb eax, eax
neg eax
add eax, 0xcc8e
sub eax, dword [ebp - 0x34]
neg eax
sbb eax, eax
inc eax
imul eax, dword [ebp - 0x2c]
test eax, eax
jne 0x1001ab7e
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x108]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], 0x3fdda78c
call fcn.10017f1e
mov dword [ebp - 0x1c], 0xbac64a68
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], 6
mov dword [ebp - 0x34], 0xb6046e74
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x18], 0x7e09fa0
cmp dword [ebp - 0x14], ebx
jne 0x1001ac08
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
setl dl
add eax, edx
xor edx, edx
add ecx, eax
mov eax, dword [ebp - 0x14]
cmp ecx, esi
setg dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x2c]
setge cl
xor edx, edx
cmp ecx, 0xb06c
setne dl
sub edx, eax
imul edx, dword [ebp - 0x14]
test edx, edx
mov edx, ebx
je 0x1001ac0a
mov edx, esi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, edx
push 2
setg cl
xor edx, edx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
setg dl
xor ecx, ecx
sub edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
cmp edx, eax
setg cl
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], 0xf84
pop edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x40], 0xfffffffc
mov dword [ebp - 0x20], ebx
jmp 0x1001ac67
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x184], 0x47fd
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x1001ac56
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov eax, dword [ebp - 0x18]
cmp eax, ecx
setl dl
xor eax, eax
cmp edx, 0xfffffffa
setne al
xor ecx, ecx
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setle dl
sub edx, 0x42d63d2c
mov dword [ebp - 0x40], edx
xor edx, edx
cmp eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
setl dl
xor ecx, ecx
cmp edx, eax
setg cl
mov dword [ebp - 0x40], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
cmp eax, 0x2c25470e
setne cl
xor eax, eax
cmp ecx, 0xa9257de9
setne al
cmp eax, dword [ebp - 0x14]
jge 0x1001ace2
mov ecx, ebx
cmp dword [ebp - 0x14], ebx
je 0x1001ace4
mov ecx, esi
mov eax, dword [ebp - 0x18]
sub eax, ecx
neg eax
push edi
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0xe816
mov eax, dword [ebp - 0x1c]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x30]
setge cl
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x180]
mov ecx, 0xb1a88af1
setle dl
sub edx, eax
mov eax, dword [ebp - 0x30]
imul eax, edx
cmp ecx, eax
lea ecx, [ebp - 0xd0]
sbb eax, eax
neg eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
call fcn.10017e9c
push esi
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 5
call fcn.10017e9c
mov dword [ebp - 0x2c], 0x5f27
mov dword [ebp - 0x24], ebx
jmp 0x1001ad6d
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xd0]
mov dword [eax + ecx*4], 0x42eb90da
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], edi
jl 0x1001ad5a
mov dword [ebp - 0x24], ebx
jmp 0x1001ad8a
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x90]
mov dword [eax + ecx*4], 0x3638ecf5
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jl 0x1001ad77
mov eax, dword [ebp - 0x90]
mov dword [eax], ebx
mov dword [ebp - 0x1c], 0xc4530722
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], 0xfffffff7
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x1c], ebx
jl 0x1001adb5
dec dword [ebp - 0x1c]
jns 0x1001adb0
mov dword [ebp - 0x1c], esi
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xd0]
cmp dword [eax + ecx*4], 0xcd409884
setne dl
mov dword [ebp - 0x18], edx
xor edx, edx
mov eax, dword [ebp - 0x18]
cmp eax, 0xd022
mov eax, dword [ebp - 0x90]
setl dl
mov ecx, dword [eax]
mov eax, dword [ebp - 0xd0]
add edx, dword [eax + ecx*4]
neg edx
sbb edx, edx
inc edx
cmp edx, dword [ebp - 0x2c]
jle 0x1001ae07
mov edx, ebx
cmp dword [ebp - 0x2c], ebx
je 0x1001ae09
mov edx, esi
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x90]
setg cl
mov dword [ebp - 0x18], ecx
inc dword [eax]
cmp dword [eax], esi
jle 0x1001ad97
lea ecx, [ebp - 0x90]
call fcn.10017f1e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.10017f1e
mov dword [ebp - 0x24], 0xbf90edca
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], 0x2679f1a7
mov dword [ebp - 0x18], 0x6398c3d3
mov dword [ebp - 0x18], 0x9233c9e4
mov dword [ebp - 0x20], ebx
jmp 0x1001ae75
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x4c], 0xff57440e
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x1001ae67
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
imul edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, edx
setle cl
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp eax, esi
setg cl
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x40], 0xd5c0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], 0xfffffff7
mov dword [ebp - 0x18], 0xf6066fa4
mov dword [ebp - 0x18], 0xc655ef1c
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x18], 0x3c6e85a6
mov dword [ebp - 0x18], 0x89736453
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001aefc
cmp dword [ebp - 0x4c], ebx
jne 0x1001aefc
mov esi, ebx
mov eax, dword [ebp - 0x4c]
imul ecx, esi, 0xfffc
neg ecx
sbb ecx, ecx
neg ecx
sub ecx, eax
mov eax, dword [ebp - 0x28]
imul ecx, ecx, 9
sub ecx, eax
imul ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x2c]
neg ecx
sbb ecx, ecx
neg ecx
add eax, ecx
cmp dword [ebp - 0x2c], eax
jne 0x1001af2c
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x28], eax
dec dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
jmp 0x1001afa9
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0xffffffff
push ebx
push eax
call fcn.1001d7eb
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x120]
call fcn.10017e9c
mov dword [ebp - 0x20], ebx
jmp 0x1001af79
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x120]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x1001af6a
mov eax, dword [ebp - 0x120]
mov dword [eax + 4], 0xfffffffd
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001af9b
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp - 0x120]
call fcn.10017f1e
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x19
jne 0x1001af40
mov byte [ebp - 0x45], bl
mov dword [ebp - 0x20], ebx
jmp 0x1001afc8
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x178], 5
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x1001afb7
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001afdf
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x170], 0xb90da115
cmp byte [ebp - 0x45], 0
je 0x1001aff6
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov eax, dword [ebp - 0xc0]
mov ecx, 0x3e8
cdq
idiv ecx
mov ecx, dword [ebp - 0xac]
mov esi, edx
mov edi, eax
call fcn.10019c3c
mov ecx, dword [ebp - 0xc]
add eax, esi
add eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret