Function at 0x10019863
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Query or enumerate registry value
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0xe4], edx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
push edi
mov edi, 0x141e4f1f
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x1c], 0xfffffffa
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x28], 0x17716e31
mov dword [ebp - 4], edx
jmp 0x100198b2
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x138], 0xfffffffc
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x100198a1
xor esi, esi
mov dword [ebp - 4], edx
inc esi
jmp 0x100198d1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xd8], 0x5c380a38
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x100198c0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], edx
jmp 0x100199cd
mov dword [ebp - 4], 0x1813f1a0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc], edx
jmp 0x10019904
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1a8], 0xd3e018eb
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x100198f3
inc dword [ebp - 4]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
cmp ecx, eax
setl dl
xor esi, esi
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], esi
jne 0x1001992d
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], esi
je 0x1001993b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], 0xe08a1101
mov ecx, 0xfffd
mov eax, dword [ebp - 0x14]
cmp ecx, eax
sbb eax, eax
xor edx, edx
neg eax
cmp eax, 0x91ba
setge dl
imul edx, dword [ebp - 4]
dec edx
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
cmp edx, eax
setl cl
xor edx, edx
mov dword [ebp - 0x1a4], ecx
test ecx, ecx
jne 0x10019997
cmp dword [ebp - 0x1a8], edx
jne 0x10019997
xor esi, esi
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
inc esi
jmp 0x100199a0
xor esi, esi
inc esi
mov dword [ebp - 0x138], esi
mov eax, dword [ebp - 0x1a4]
cmp dword [ebp - 0xd8], 0xe2c23779
sbb eax, eax
neg eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x100199ca
push edx
push edx
push edx
push edx
push edx
push edx
call ebx
xor edx, edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x17
jge 0x100198e4
mov dword [ebp - 0x1c], 0x9a7b445a
mov dword [ebp - 0x20], 0xd6273d59
mov dword [ebp - 0x20], 0xfffffff8
mov dword [ebp - 4], edx
jmp 0x100199ff
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x64], 0x68ec0ae9
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x100199f1
mov dword [ebp - 4], edx
jmp 0x10019a17
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x20c], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x10019a0a
mov dword [ebp - 0x64], 0x1b
jmp 0x10019ab3
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x28], 0x35211521
cmp dword [ebp - 0x18], edx
je 0x10019a60
cmp dword [ebp - 0x64], edx
je 0x10019a47
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jl 0x10019a60
mov edx, esi
mov eax, dword [ebp - 0x64]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x18]
setl cl
imul eax, ecx
mov ecx, 0xd6b59229
cmp ecx, eax
sbb eax, eax
xor ecx, ecx
inc eax
imul edx, eax
mov eax, dword [ebp - 0x18]
cmp edx, eax
setge cl
cmp ecx, 0x8217c712
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, esi
setge cl
xor edx, edx
mov dword [ebp - 0x28], ecx
mov byte [ebp - 5], dl
cmp byte [ebp - 5], dl
je 0x10019ab0
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
dec dword [ebp - 0x64]
cmp dword [ebp - 0x64], 0xc
jle 0x10019a29
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x10019acf
push edx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
xor edx, edx
mov dword [ebp - 0xc], 0x8bbca631
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0xc], 0xffffffe7
jmp 0x10019b41
mov dword [ebp - 4], 0x4b4e1265
mov dword [ebp - 4], edx
jmp 0x10019b1c
mov dword [ebp - 0x28], 0xe64fd9e2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x11c], eax
shl eax, 3
mov dword [ebp - 0x28], eax
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xfffffff5
jge 0x10019b03
mov dword [ebp - 4], edx
jmp 0x10019b38
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x120], 0xfffffffb
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x10019b27
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jne 0x10019af7
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 0xb9c279a2
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], edx
jmp 0x10019b70
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x8c], 0x9b54
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x10019b5f
mov dword [ebp - 0x10], edx
jmp 0x10019d63
mov dword [ebp - 0x1c], 0x202d95c7
mov dword [ebp - 0x30], 0xfffffff9
mov dword [ebp - 0xc], edx
jmp 0x10019b9b
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x38], esi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x10019b91
mov dword [ebp - 0x38], edx
jmp 0x10019c43
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], edx
xor edx, edx
mov dword [ebp - 0x28], 0xfffffffb
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
mov ecx, 0x9c9b29b2
setne dl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
sub ecx, eax
mov eax, dword [ebp - 0x38]
add eax, ecx
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
setle cl
add edx, ecx
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
sete cl
sub ecx, 0x442e1191
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
imul ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10019c25
cmp dword [ebp - 0x38], edx
jne 0x10019c2c
mov ecx, edx
cmp dword [ebp - 0x20], edx
je 0x10019c2e
mov ecx, esi
mov eax, dword [ebp - 0x8c]
sub ecx, eax
xor eax, eax
cmp eax, ecx
sbb eax, eax
inc eax
mov dword [ebp - 0x28], eax
inc dword [ebp - 0x38]
cmp dword [ebp - 0x38], esi
jle 0x10019ba8
mov eax, dword [ebp - 0x18]
mov ecx, esi
sub ecx, eax
xor edx, edx
add ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x88]
cmp ecx, eax
mov eax, dword [ebp - 0x8c]
setle dl
xor ecx, ecx
cmp eax, edx
setl cl
xor eax, eax
cmp ecx, 0x4ca72cb5
sete al
xor edx, edx
imul eax, dword [ebp - 4]
test eax, eax
je 0x10019c99
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
jmp 0x10019d60
mov dword [ebp - 0xc], 0xed40
mov dword [ebp - 4], edx
jmp 0x10019d54
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x8456a9e5
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], edx
jl 0x10019d51
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
inc dword [ebp - 0xc]
cmp dword [ebp - 0x20], edx
jne 0x10019cd6
mov eax, dword [ebp - 0x38]
mov ecx, edx
mov eax, dword [ebp - 0xc]
jmp 0x10019cd8
mov ecx, esi
xor eax, eax
cmp ecx, 0x406
push 0
setge al
xor edx, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
mov eax, dword [ebp - 4]
setl dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x38]
cmp edx, eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
setne cl
xor edx, edx
cmp ecx, esi
setne dl
xor ecx, ecx
cmp edx, eax
pop edx
setle cl
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
cmp eax, 0x214
setl cl
imul ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
add ecx, 0x8a74
neg ecx
sbb ecx, ecx
inc ecx
add eax, ecx
mov dword [ebp - 0x24], eax
dec dword [ebp - 0x14]
jns 0x10019cbe
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jle 0x10019ca8
mov eax, dword [ebp - 0x30]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x1a
je 0x10019b7e
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], 0x5116
mov dword [ebp - 0xc], edx
jmp 0x10019d8d
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x4c], 0x1713b910
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x10019d7f
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], edx
jl 0x10019e6d
mov dword [ebp - 4], 0xe1b1b55
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x4c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x4c]
mov eax, dword [ebp - 0x10]
cmp eax, 0x60a4
setle cl
cmp ecx, 0xec0351a9
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0x26a0
mov eax, dword [ebp - 0x10]
setne dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x4c]
cmp eax, edx
mov eax, dword [ebp - 0x10]
setg cl
xor edx, edx
cmp ecx, dword [ebp + eax*4 - 0x4c]
jge 0x10019e0c
mov dword [ebp - 4], edx
jmp 0x10019e04
inc dword [ebp - 0x24]
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffe3
jge 0x10019dfe
jmp 0x10019e36
mov byte [ebp - 5], dl
cmp byte [ebp - 5], dl
je 0x10019e23
push edx
push 0xf0b
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
xor edx, edx
mov dword [ebp - 0x24], edx
jmp 0x10019e30
cmp dword [ebp - 0x24], edx
jne 0x10019e36
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x2a
je 0x10019e28
mov dword [ebp - 4], 0xffffffe9
jmp 0x10019e5e
mov dword [ebp - 0x28], 0x8d7d2a7e
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x4c], edx
jne 0x10019e56
mov eax, edx
cmp dword [ebp - 0x4c], edx
je 0x10019e58
mov eax, esi
mov dword [ebp - 0x28], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xfffffffd
jne 0x10019e3f
dec dword [ebp - 0x10]
jns 0x10019d9e
mov dword [ebp - 0x1c], 0xfffffffa
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], 0xca4f833f
mov dword [ebp - 4], 0xf3d4210e
mov dword [ebp - 0xc], edx
jmp 0x10019e97
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1b4], esi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x10019e8a
push 2
mov dword [ebp - 0x10], edx
pop edi
jmp 0x10019eba
mov dword [ebp - 0x28], 6
mov eax, dword [ebp - 0x28]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jle 0x10019ea5
mov dword [ebp - 0x10], 0xffffffe3
jmp 0x10019f2c
mov dword [ebp - 4], edx
jmp 0x10019ef1
mov dword [ebp - 0x28], 0xa7b051af
xor ecx, ecx
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x1b4]
cmp eax, 0x3735b263
setge cl
add ecx, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jle 0x10019ecd
mov dword [ebp - 4], edx
jmp 0x10019f24
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x10019f0d
push edx
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
xor edx, edx
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x10019f21
push edx
push edx
push edx
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
xor edx, edx
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jle 0x10019efb
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xfffffff2
jl 0x10019ec8
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x14], 0x97f6af11
mov dword [ebp - 0x14], 0xfffffffe
jmp 0x10019f79
mov dword [ebp - 0xc], edx
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x10019f5f
push 0x1e48
push edx
push edx
call edi
xor edx, edx
mov dword [ebp - 0xc], 0xffffffec
jmp 0x10019f70
cmp dword [ebp - 0xc], edx
jne 0x10019f76
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xd
jge 0x10019f68
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffffd
jl 0x10019f48
mov dword [ebp - 0x28], 0x17716e31
mov dword [ebp - 0x10], 0x1e1e87df
mov dword [ebp - 0x20], 0xfffffff7
mov dword [ebp - 4], edx
jmp 0x10019fa7
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x3c], 0xfffffff8
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x10019f99
mov dword [ebp - 4], edx
jmp 0x10019fbf
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x40], 0x4888999d
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x10019fb1
mov esi, dword [ebp - 0x3c]
xor edx, edx
mov dword [ebp - 0x40], esi
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
mov eax, dword [ebp - 0x3c]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x10]
setl cl
sub eax, ecx
sub eax, 0x5689
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp esi, eax
mov eax, dword [ebp - 0x3c]
setl cl
xor esi, esi
imul ecx, eax
mov eax, dword [ebp - 0x10]
add eax, ecx
je 0x1001a075
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], 0x7c57f39c
cmp dword [ebp - 0x14], esi
je 0x1001a033
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
setl dl
imul edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x3c]
jne 0x1001a033
xor edx, edx
inc edx
jmp 0x1001a035
mov edx, esi
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp edx, eax
setle cl
cmp dword [ebp - 0x14], ecx
jl 0x1001a04e
cmp dword [ebp - 0x1c], esi
je 0x1001a04e
xor ecx, ecx
inc ecx
jmp 0x1001a050
mov ecx, esi
mov eax, dword [ebp - 0x14]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
sub edx, 0x5900b088
cmp eax, edx
setne cl
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x20], ecx
jmp 0x1001a128
mov dword [ebp - 4], 0xc214
mov dword [ebp - 0xc], esi
jmp 0x1001a092
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x168], 0x447d0519
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x1001a081
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x3c]
test eax, eax
jne 0x1001a0e0
cmp dword [ebp - 0x40], esi
je 0x1001a0b4
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
neg edx
sbb edx, edx
neg edx
sub edx, dword [ebp - 4]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
sub edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
cmp edx, eax
setle cl
sub ecx, dword [ebp - 4]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x160], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, 0xffff
sub ecx, eax
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x10], esi
jne 0x1001a0fb
cmp dword [ebp - 0x3c], esi
jne 0x1001a0fb
mov edx, esi
jmp 0x1001a0fe
xor edx, edx
inc edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
test eax, eax
setns cl
cmp edx, 6
sbb eax, eax
neg eax
add ecx, eax
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 4]
add eax, ecx
mov dword [ebp - 0x40], eax
xor edx, edx
mov byte [ebp - 5], dl
cmp byte [ebp - 5], dl
je 0x1001a142
push edx
push edx
push 0x3ad
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x1001a158
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x144], 0xfffffffc
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x1001a147
xor esi, esi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0xc], edx
inc esi
jmp 0x1001a17e
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xe0], 0xec2e
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1001a16d
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], edx
jl 0x1001a1d7
mov dword [ebp - 0x14], 0x32bb11ac
mov dword [ebp - 0x14], edx
jmp 0x1001a1cd
mov dword [ebp - 0xc], 0x3afc3718
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a1af
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor edx, edx
mov dword [ebp - 0xc], edx
jmp 0x1001a1c5
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xe0], 0x425a
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1001a1b4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jle 0x1001a197
dec dword [ebp - 0x18]
jns 0x1001a18b
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a1e8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x1001a1fe
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xcc], 0x5c380a38
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001a1ed
mov dword [ebp - 0x14], edx
jmp 0x1001a455
mov dword [ebp - 4], 0x1813f1a0
mov dword [ebp - 0x2c], 8
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a22c
push edx
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
xor edx, edx
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a244
push edx
push 0x1398
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
xor edx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc], 0x64f14790
mov dword [ebp - 0x1c], 0xe468
mov dword [ebp - 0x20], 0xfffffff6
mov dword [ebp - 0xc], edx
jmp 0x1001a26f
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x50], 0xd435
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1001a261
imul eax, dword [ebp - 0x50], 0x63f9
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, esi
setge cl
xor edx, edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
setge dl
cmp edx, 0xd6a5
je 0x1001a2bb
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x1c], esi
dec dword [ebp - 0x1c]
jmp 0x1001a304
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x1001a2d3
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xdc], 4
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1001a2c2
mov dword [ebp - 0xc], ecx
jmp 0x1001a2e8
cmp dword [ebp - 0xdc], ecx
jne 0x1001a2ee
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xb
jge 0x1001a2dd
mov byte [ebp - 5], cl
cmp byte [ebp - 5], cl
je 0x1001a306
push 0xbbb
push ecx
push ecx
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
xor ecx, ecx
mov dword [ebp - 0x2c], 0xbca6
mov byte [ebp - 5], cl
cmp byte [ebp - 5], 0
je 0x1001a31f
push ecx
call dword [sym.imp.USER32.dll_DestroyCursor]
xor ecx, ecx
mov byte [ebp - 5], cl
cmp byte [ebp - 5], 0
je 0x1001a332
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor ecx, ecx
mov dword [ebp - 0x10], 0x97f6af11
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x1001a370
mov byte [ebp - 5], cl
cmp byte [ebp - 5], 0
je 0x1001a356
push 0x1e48
push ecx
push ecx
call edi
xor ecx, ecx
mov dword [ebp - 0xc], 0xffffffec
jmp 0x1001a367
cmp dword [ebp - 0x10], 0xfffffffd
mov dword [ebp - 0xc], ecx
jl 0x1001a342
jmp 0x1001a38c
cmp dword [ebp - 0xc], 4
jl 0x1001a37b
cmp dword [ebp - 0x14], 0x17
jge 0x1001a20b
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x28], 0x141e4f1f
mov dword [ebp - 0x28], 0xfffffffa
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], edx
jmp 0x1001a5b7
mov dword [ebp - 4], 0x5efa20bd
mov dword [ebp - 0x14], 0x5fec
mov dword [ebp - 0xc], edx
jmp 0x1001a4a5
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x7c], 0x835357f4
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x1001a497
mov esi, dword [ebp - 4]
neg esi
sbb esi, esi
neg esi
cmp dword [ebp - 4], edx
je 0x1001a4c3
cmp dword [ebp - 0x10], edx
je 0x1001a4c3
xor ecx, ecx
inc ecx
jmp 0x1001a4c5
mov ecx, edx
mov eax, dword [ebp - 4]
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 4]
setge dl
xor ecx, ecx
cmp esi, eax
setne cl
xor eax, eax
cmp ecx, edx
setg al
xor edx, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x18], eax
jg 0x1001a54c
mov dword [ebp - 0x28], 0x415fb57a
mov dword [ebp - 0x20], 0xe3bc
mov dword [ebp - 0x1c], 0x1cc0e426
mov dword [ebp - 0x30], 0x7220b739
cmp dword [ebp - 0x20], edx
jne 0x1001a51a
mov eax, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x28]
cmp eax, 0x53bf
jne 0x1001a533
cmp dword [ebp - 0x7c], edx
jne 0x1001a533
xor esi, esi
mov ecx, edx
inc esi
jmp 0x1001a538
xor esi, esi
inc esi
mov ecx, esi
mov eax, dword [ebp - 4]
imul eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x30], esi
jmp 0x1001a5ae
mov dword [ebp - 0x1c], 0x1d4d0043
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x39
jne 0x1001a5ab
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0xe
jmp 0x1001a579
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a576
push edx
call ebx
xor edx, edx
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffe8
jle 0x1001a568
cmp dword [ebp - 0xc], edx
jne 0x1001a593
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
sub ecx, dword [ebp - 0xc]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x7c], ecx
inc dword [ebp - 0x14]
jmp 0x1001a556
xor esi, esi
inc esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x7c], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xf
jge 0x1001a484
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp - 0x10], 0xffffffea
jmp 0x1001a5ec
mov byte [ebp - 5], dl
cmp byte [ebp - 5], 0
je 0x1001a5e9
push 0x1a97
push edx
push 0x157
push edx
call edi
xor edx, edx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jge 0x1001a5d0
mov dword [ebp - 0xc], edx
jmp 0x1001a604
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x98], esi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x1001a5f7
mov dword [ebp - 0x94], 0xfffffff0
jmp 0x1001a648
mov dword [ebp - 0xc], edx
jmp 0x1001a62c
cmp dword [ebp - 0x94], 0xffffffe6
jge 0x1001a616
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], edx
jmp 0x1001a78d