Function at 0x408ec0
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x41a178]
xor eax, ebp
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + 0x70]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 0x98]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0xc0]
mov dword [ebp - 4], eax
movsx ecx, word [ebp + 0x14]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x230]
add edx, 1
mov dword [ebp - 0x230], edx
cmp dword [ebp - 0x230], 0x29
ja case.0x408f43.5
mov eax, dword [ebp - 0x230]
movzx ecx, byte [eax + 0x40a638]
jmp dword [ecx*4 + 0x40a5e8]
mov eax, 1
jmp 0x40a5d3
mov dword [ebp - 0x20], 1
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0x1c], 1
mov edx, dword [ebp + 0x2c]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 0x30030105
push 0
call dword [ebp + 0x18]
jmp 0x40a5d3
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0x20], str.2017B
mov edx, dword [ebp + 0x2c]
mov dword [edx + 0x1c], 2
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push 0x30030105
push 0
call dword [ebp + 0x18]
jmp 0x40a5d3
mov dword [ebp - 0x18], 0x2777
mov dword [ebp - 0x24], 0xfffffffd
jmp 0x40a590
mov dword [ebp - 0x20], 1
cmp dword [0x41b180], 0
je 0x408fdf
mov dword [ebp - 0x20], 5
jmp 0x408f5b
push 0x101
mov edx, dword [ebp - 0x28]
push edx
push 0x41b038
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x41ffe0
push 0x41b2de
push 0x41b2df
push 0x41b2e0
push 0x41b2e1
push 7
mov eax, dword [ebp + 8]
push eax
call fcn.004012c0
test eax, eax
jne 0x4090b6
mov dword [ebp - 0x2c], 5
push 1
push 0x12c
push 0x4209a0
push 0x1b6f
mov ecx, dword [0x4204a0]
push ecx
call fcn.0040c3b0
push 0x4209a0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x101
ja 0x4090b6
push 0x41b038
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x2c]
cmp eax, 0x101
jbe 0x409086
mov edx, 0x101
sub edx, dword [ebp - 0x2c]
mov byte [edx + 0x41b038], 0
push 0x419d7c
push 0x41b038
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4209a0
push 0x41b038
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x419d80
push 0x41b038
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [0x419be8], 0
je 0x409180
mov dword [0x41b2b4], 1
push 0x41b038
mov eax, dword [0x41b19c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
mov ecx, dword [0x41b19c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
cmp dword [0x41b13c], 0
je 0x409108
mov eax, dword [0x41b13c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
push 2
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x41b13c], eax
cmp dword [0x41b13c], 0
je 0x409161
mov eax, dword [0x41b13c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x409161
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x41b13c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push 1
push 0
mov ecx, dword [0x41b19c]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [ebp - 0x20], 1
jmp 0x408f5b
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
push 0x419d84
push str.300__300__700__700
push 0x20
call fcn.004020f0
test eax, eax
je 0x4091f3
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0x41b038
push str.10111011
push 0x11
call fcn.004020f0
test eax, eax
je 0x4091f3
lea ecx, [ebp - 0x18]
push ecx
push 0x419da0
push 0x419da4
mov edx, dword [ebp - 0x1c]
push edx
push 0x41b2e2
push 0x419da8
push 0x19
call fcn.004020f0
test eax, eax
je 0x4091f3
mov dword [ebp - 0x20], 1
jmp 0x4094e8
cmp dword [0x419be8], 0
je 0x409243
mov dword [0x41b2b4], 0
mov eax, dword [0x41be64]
push eax
mov ecx, dword [0x41b19c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x20], 1
mov edx, dword [ebp + 8]
cmp edx, dword [0x41b19c]
je 0x40923c
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x408f5b
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0x419dac
push 0x15
call fcn.004020f0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 8]
cmp edx, dword [0x41b19c]
je 0x409275
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4094e8
cmp dword [0x419be8], 0
je 0x409317
cmp dword [0x41b13c], 0
je 0x40929d
mov ecx, dword [0x41b13c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
push 2
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x41b13c], eax
cmp dword [0x41b13c], 0
je 0x4092f8
mov ecx, dword [0x41b13c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4092f8
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [0x41b13c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push 1
push 0
mov edx, dword [0x41b19c]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [ebp - 0x20], 1
jmp 0x408f5b
lea eax, [ebp - 0x18]
push eax
push 0x419db0
push 0x419db4
mov ecx, dword [ebp - 0x28]
push ecx
push 0x41b2e3
push 0x419db8
push 0x19
call fcn.004020f0
mov dword [ebp - 0x20], eax
jmp 0x4094e8
push 0x101
mov edx, dword [ebp - 0x28]
push edx
push 0x41b038
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x41ffe0
push 0x41b2e4
push 0x41b2e5
push 0x41b2e6
push 0x41b2e7
push 7
mov eax, dword [ebp + 8]
push eax
call fcn.004012c0
test eax, eax
jne 0x409414
mov dword [ebp - 0x30], 5
push 1
push 0x12c
push 0x4209a0
push 0x1b6f
mov ecx, dword [0x4204a0]
push ecx
call fcn.0040c3b0
push 0x4209a0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x101
ja 0x409414
push 0x41b038
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x30]
cmp eax, 0x101
jbe 0x4093e4
mov edx, 0x101
sub edx, dword [ebp - 0x30]
mov byte [edx + 0x41b038], 0
push 0x419dbc
push 0x41b038
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4209a0
push 0x41b038
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x419dc0
push 0x41b038
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [0x419be8], 0
je 0x40943c
push 0x41b038
mov eax, dword [0x41b19c]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [ebp - 0x20], 1
jmp 0x408f5b
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0x41b038
push 0x419dc4
push 0x11
call fcn.004020f0
mov dword [ebp - 0x20], eax
jmp 0x4094e8
mov dword [0x419be8], 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040c080
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
movsx eax, word [ebp + 0x14]
push eax
call fcn.004020f0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x34], 1
jne 0x4094b7
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x41b19c]
je 0x4094b7
push 5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4094e8
mov dword [0x419be8], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
movsx eax, word [ebp + 0x14]
push eax
call fcn.004020f0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x18], 0
je 0x4094fa
mov dword [ebp - 0x24], 0xffffffff
jmp 0x40a590
jmp 0x408f5b
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x40], eax
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x38], eax
cmp dword [0x41ae18], 0
jne 0x409564
call fcn.0040c170
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_GetCursor]
cmp eax, dword [ebp - 0x38]
jne 0x409545
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebp - 0x3c], 0
jne 0x40954d
jmp 0x409564
push 0x1f4
call fcn.0040c300
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x409562
jmp 0x409564
jmp 0x40951f
mov dword [ebp - 0x20], 1
jmp 0x408f5b
push 0x41bd60
call fcn.0040c700
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4095a8
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
sub eax, 0x41bd60
add eax, 1
push eax
push 0x41bd60
push 0x41b038
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x4095af
mov byte [0x41b038], 0
mov eax, dword [ebp + 0x2c]
mov dword [eax + 0x20], 0x41b038
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0x1c], 2
mov edx, dword [ebp + 0x2c]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 0x30030105
push 0
call dword [ebp + 0x18]
jmp 0x40a5d3
mov ecx, dword [ebp - 0x28]
movsx edx, byte [ecx]
test edx, edx
je 0x409616
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x409601
mov dword [ebp - 0x18], 0x279e
mov dword [ebp - 0x24], 0xffffffff
jmp 0x40a590
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0xffffffff
jmp 0x40964f
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0040c080
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x40962e
cmp dword [ebp - 0x4c], 2
jle 0x409641
mov dword [ebp - 0x18], 0x27a0
mov dword [ebp - 0x24], 0xffffffff
jmp 0x40a590
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [0x41b19c]
push eax
call fcn.0040a840
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x40968d
mov dword [ebp - 0x18], 0x279f
mov dword [ebp - 0x24], 0xffffffff
jmp 0x40a590
cmp dword [ebp - 0x58], 0
je 0x4096cd
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp - 0x58]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp + 0x2c]
mov dword [eax + 0x1c], 2
mov ecx, dword [ebp + 0x2c]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
push 0x30030105
push 0
call dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x20]
jmp 0x40a5d3
mov dword [ebp - 0x20], 1
jmp 0x408f5b
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0040c080
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x234]
sub eax, 0x3e8
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 9
ja case.default.0x409712
mov ecx, dword [ebp - 0x234]
jmp dword [ecx*4 + 0x40a664]
mov edx, dword [0x41b2a8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040c080
mov dword [0x41b2a8], eax
jmp 0x408f5b
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0040c080
mov dword [ebp - 0x60], eax
cmp dword [0x41b150], 0
je 0x4097f3
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x60], 1
jne 0x40976b
mov dword [ebp - 0x64], 1
jmp 0x40977f
cmp dword [ebp - 0x60], 0
jne 0x40977a
mov dword [ebp - 0x64], 0
jmp 0x40977f
jmp 0x408f5b
push 0x419dc8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x409798
jmp 0x408f5b
push str.RegisterServiceProcess
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4097e7
mov eax, dword [ebp - 0x64]
push eax
push 0
call dword [ebp - 0x68]
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4097e7
cmp dword [ebp - 0x64], 1
jne 0x4097d7
mov dword [0x41b2b8], 1
jmp 0x4097e7
cmp dword [ebp - 0x64], 0
jne 0x4097e7
mov dword [0x41b2b8], 0
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x409818
cmp dword [0x41b154], 0
je 0x409818
cmp dword [ebp - 0x60], 1
je 0x409808
cmp dword [ebp - 0x60], 0
jne 0x409818
mov edx, dword [ebp - 0x60]
mov dword [0x41b2b8], edx
mov dword [ebp - 0x20], 1
jmp 0x408f5b
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040c080
mov dword [ebp - 0x60], eax
cmp dword [0x41be64], 0
jne 0x40983b
mov dword [ebp - 0x20], 0
jmp 0x409842
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x60], 0
jne 0x409868
mov dword [0x41be64], 0
mov ecx, dword [0x41be64]
push ecx
mov edx, dword [0x41b19c]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40988b
cmp dword [ebp - 0x60], 1
jne 0x40988b
mov dword [0x41be64], 7
mov eax, dword [0x41be64]
push eax
mov ecx, dword [0x41b19c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x408f5b
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040c080
mov dword [ebp - 0x60], eax
mov eax, dword [0x419be4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x60], 0
je 0x4098b0
cmp dword [ebp - 0x60], 1
jne 0x4098b9
mov ecx, dword [ebp - 0x60]
mov dword [0x419be4], ecx
jmp 0x408f5b
mov edx, dword [ebp + 0x2c]
mov dword [edx + 0x20], 0x41bd60
mov eax, dword [ebp + 0x2c]
mov dword [eax + 0x1c], 2
mov ecx, dword [ebp + 0x2c]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
push 0x30030105
push 0
call dword [ebp + 0x18]
jmp 0x40a5d3
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040c080
mov dword [ebp - 0x60], eax
mov ecx, dword [0x41b14c]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x60], 1
jne 0x409918
mov dword [0x41b14c], 1
mov eax, 0xfffffffa
jmp 0x40a5d3
jmp 0x408f5b
mov dword [ebp - 0x78], 0
cmp dword [0x41b154], 0
je 0x4099d5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
movzx eax, word [edx]
cmp eax, 0x22
jne 0x409984
mov ecx, dword [ebp - 0x7c]
add ecx, 2
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
movzx eax, word [edx]
cmp eax, 0x22
je 0x40996e
mov ecx, dword [ebp - 0x7c]
movzx edx, word [ecx]
test edx, edx
je 0x40996e
mov eax, dword [ebp - 0x7c]
add eax, 2
mov dword [ebp - 0x7c], eax
jmp 0x40994e
mov ecx, dword [ebp - 0x7c]
movzx edx, word [ecx]
cmp edx, 0x22
jne 0x409982
mov eax, dword [ebp - 0x7c]
add eax, 2
mov dword [ebp - 0x7c], eax
jmp 0x4099af
mov ecx, dword [ebp - 0x7c]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x4099af
mov eax, dword [ebp - 0x7c]
movzx ecx, word [eax]
cmp ecx, 9
je 0x4099af
mov edx, dword [ebp - 0x7c]
movzx eax, word [edx]
test eax, eax
je 0x4099af
mov ecx, dword [ebp - 0x7c]
add ecx, 2
mov dword [ebp - 0x7c], ecx
jmp 0x409984
mov edx, dword [ebp - 0x7c]
movzx eax, word [edx]
cmp eax, 0x20
je 0x4099c5
mov ecx, dword [ebp - 0x7c]
movzx edx, word [ecx]
cmp edx, 9
jne 0x4099d0
mov eax, dword [ebp - 0x7c]
add eax, 2
mov dword [ebp - 0x7c], eax
jmp 0x4099af
jmp 0x409b00
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
movsx edx, byte [ecx]
cmp edx, 0x22
jne 0x409a2c
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
movsx edx, byte [ecx]
cmp edx, 0x22
je 0x409a16
mov eax, dword [ebp - 0x74]
movsx ecx, byte [eax]
test ecx, ecx
je 0x409a16
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x74], eax
jmp 0x4099f2
mov eax, dword [ebp - 0x74]
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x409a2a
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
jmp 0x409a5b
mov eax, dword [ebp - 0x74]
movsx ecx, byte [eax]
cmp ecx, 0x20
je 0x409a5b
mov edx, dword [ebp - 0x74]
movsx eax, byte [edx]
cmp eax, 9
je 0x409a5b
mov ecx, dword [ebp - 0x74]
movsx edx, byte [ecx]
test edx, edx
je 0x409a5b
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x74], eax
jmp 0x409a2c
mov ecx, dword [ebp - 0x74]
movsx edx, byte [ecx]
cmp edx, 0x20
je 0x409a71
mov eax, dword [ebp - 0x74]
movsx ecx, byte [eax]
cmp ecx, 9
jne 0x409a80
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x74], eax
jmp 0x409a5b
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
shl ecx, 1
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x78], 0
je 0x409ac1
cmp dword [ebp - 0x7c], 0
jne 0x409ae8
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x18], 0x27a1
mov dword [ebp - 0x24], 0xffffffff
jmp 0x40a590
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x7c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x74]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp - 0x7c]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0x1c], 0x1000
mov edx, dword [ebp + 0x2c]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 0x30030105
push 0
call dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x78], 0
je 0x409b42
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x20]
jmp 0x40a5d3
mov dword [ebp - 0x20], 0
cmp dword [0x41b158], 0
je case.default.0x409c44
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040c080
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
je 0x409b7a
cmp dword [ebp - 0x60], 4
jne 0x409c28
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040c080
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x409ba9
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
cmp ecx, 0x30
jne 0x409ba9
mov edx, dword [ebp - 8]
mov byte [edx], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x409bc9
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0x30
jne 0x409bc9
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x409c28
push 0x7c
mov eax, dword [ebp - 4]
push eax
call fcn.0040c130
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x409c28
mov ecx, dword [ebp - 0x84]
mov byte [ecx], 0
mov edx, dword [ebp - 0x84]
add edx, 1
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
movsx ecx, byte [eax]
test ecx, ecx
je 0x409c28
mov edx, dword [ebp - 0x84]
push edx
call fcn.0040c080
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 4
ja case.default.0x409c44
mov ecx, dword [ebp - 0x238]
jmp dword [ecx*4 + 0x40a68c]
mov edx, dword [0x41b174]
mov dword [ebp - 0x20], edx
mov dword [0x41b174], 0
jmp case.default.0x409c44
mov eax, dword [0x41b15c]
mov dword [ebp - 0x8c], eax
cmp dword [0x41b170], 0
je 0x409c7c
jmp case.default.0x409c44
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0040de80
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x409d7f
mov dword [0x41b170], 1
mov ecx, dword [ebp - 0x88]
and ecx, 1
je 0x409cbe
push 0
mov edx, dword [0x41b19c]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x88]
and eax, 2
je 0x409d7f
mov dword [0x41b178], 1
cmp dword [ebp - 0x8c], 0
je 0x409cf0
push 0
call fcn.0040f140
add esp, 4
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x409d76
cmp dword [0x41b178], 0
je 0x409d76
cmp dword [0x41b2a0], 0
jne 0x409d76
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x409d69
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409d4d
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x409d67
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x409d0b
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x409cf9
mov ecx, dword [0x41b174]
mov dword [ebp - 0x20], ecx
jmp case.default.0x409c44
cmp dword [0x41b170], 0
je 0x409db2
call fcn.0040dfe0
mov dword [ebp - 0x20], eax
mov dword [0x41b170], 0
mov edx, dword [0x41be64]
push edx
mov eax, dword [0x41b19c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x409c44
mov ecx, dword [0x41b15c]
mov dword [ebp - 0xac], ecx
cmp dword [0x41b170], 0
jne 0x409dd1
jmp case.default.0x409c44
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040c080
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x409df3
mov dword [ebp - 0xcc], 0
mov dword [0x41b178], 1
cmp dword [ebp - 0xac], 0
je 0x409e1b
mov eax, dword [ebp - 0xcc]
push eax
call fcn.0040f140
add esp, 4
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x409edd
cmp dword [ebp - 0xcc], 0
je 0x409e46
push 0
mov ecx, dword [ebp - 0xcc]
push ecx
push 0xa
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x41b17c], 0
cmp dword [0x41b178], 0
je 0x409edd
cmp dword [0x41b2a0], 0
jne 0x409edd
cmp dword [0x41b17c], 0
jne 0x409edd
push 1
push 0
push 0
push 0
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x409ecd
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409eb1
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x409ecb
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0xc8]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x409e6f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x409e50
mov eax, dword [0x41b174]
mov dword [ebp - 0x20], eax
mov dword [0x41b174], 0
jmp case.default.0x409c44
cmp dword [0x41b170], 0
je case.default.0x409c44
cmp dword [ebp - 0x88], 0
je case.default.0x409c44
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0040e080
mov dword [ebp - 0x20], eax
jmp 0x408f5b
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040c080
mov dword [ebp - 0x60], eax
mov eax, dword [0x41b2ac]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x60], 0
je 0x409f43
cmp dword [ebp - 0x60], 1
jne 0x409f94
mov ecx, dword [ebp - 0x60]
mov dword [0x41b2ac], ecx
push 0
mov edx, dword [0x41b19c]
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov dword [ebp - 0xd0], eax
cmp dword [0x41b2ac], 0
je 0x409f80
push 0
push 0xf060
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x409f94
push 1
push 0xf060
mov ecx, dword [ebp - 0xd0]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x408f5b
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040c080
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x1e8], 0
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp - 0x1e8]
mov dword [eax + 0x20], ecx
cmp dword [ebp - 0x60], 0
jne 0x409fca
mov edx, dword [ebp + 0x2c]
mov dword [edx + 0x20], 0x4201a0
jmp 0x40a03d
cmp dword [ebp - 0x60], 1
jne 0x40a03d
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
je 0x40a03d
mov dword [ebp - 0xd8], 0x100
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x1e0]
push ecx
push 0x4201a0
mov edx, dword [ebp - 0xd4]
push edx
call dword [sym.imp.ADVAPI32.dll_GetServiceDisplayNameA]
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0
je 0x40a030
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp - 0x1e0]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0xd4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp + 0x2c]
mov dword [eax + 0x1c], 2
mov ecx, dword [ebp + 0x2c]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
push 0x30030105
push 0
call dword [ebp + 0x18]
jmp 0x40a5d3
mov dword [ebp - 0x18], 0x279b
mov dword [ebp - 0x24], 0xfffffffe
jmp 0x40a590
xor eax, eax
jmp 0x40a5d3
cmp dword [0x41b180], 0
jne 0x40a08d
mov dword [ebp - 0x20], 0xffffffff
jmp 0x408f5b
mov eax, dword [0x41bfa8]
mov dword [ebp - 0x20], eax
cmp dword [0x420190], 0
je 0x40a0aa
mov ecx, dword [ebp - 0x20]
or ecx, 0x8000
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040c080
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
and eax, 0x8000
je 0x40a0fd
mov ecx, dword [ebp - 0x1ec]
and ecx, 0xffff7fff
mov dword [ebp - 0x1ec], ecx
cmp dword [0x41b160], 0
je 0x40a0f3
mov edx, dword [ebp - 0x1ec]
or edx, 0x80
mov dword [ebp - 0x1ec], edx
mov dword [0x420190], 1
cmp dword [0x41b15c], 0
jne 0x40a115
mov eax, dword [ebp - 0x1ec]
and eax, 0xffffff9f
mov dword [ebp - 0x1ec], eax
cmp dword [0x41b160], 0
jne 0x40a130
mov ecx, dword [ebp - 0x1ec]
and ecx, 0xffffff7f
mov dword [ebp - 0x1ec], ecx
cmp dword [0x41b164], 0
jne 0x40a14b
mov edx, dword [ebp - 0x1ec]
and edx, 0xfffffeff
mov dword [ebp - 0x1ec], edx
mov eax, dword [ebp - 0x1ec]
mov dword [0x41bfa8], eax
mov dword [0x420acc], 0
mov ecx, dword [0x41bfa4]
mov dword [ebp - 0x1f0], ecx
cmp dword [ebp - 0x1f0], 2
je 0x40a190
cmp dword [ebp - 0x1f0], 3
je 0x40a190
cmp dword [ebp - 0x1f0], 5
je 0x40a190
cmp dword [ebp - 0x1f0], 6
jne 0x40a1ab
mov edx, dword [0x41bfb4]
add edx, 1
mov dword [0x41bfb4], edx
mov dword [0x41bfb8], 0xea60
jmp 0x40a1bf
mov dword [0x41bfb4], 0
mov dword [0x41bfb8], 0
push 0x41bfa0
mov eax, dword [0x41b184]
push eax
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
jmp 0x408f5b
cmp dword [0x41b180], 0
jne 0x40a1ea
mov dword [ebp - 0x20], 0xffffffff
jmp 0x408f5b
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0040c080
mov dword [ebp - 0x1f4], eax
mov edx, dword [0x41bfa4]
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1f4]
mov dword [0x41bfa4], ecx
cmp dword [ebp - 0x1f4], 2
je 0x40a23e
cmp dword [ebp - 0x1f4], 3
je 0x40a23e
cmp dword [ebp - 0x1f4], 5
je 0x40a23e
cmp dword [ebp - 0x1f4], 6
jne 0x40a259
mov edx, dword [0x41bfb4]
add edx, 1
mov dword [0x41bfb4], edx
mov dword [0x41bfb8], 0xea60
jmp 0x40a26d
mov dword [0x41bfb4], 0
mov dword [0x41bfb8], 0
push 0x41bfa0
mov eax, dword [0x41b184]
push eax
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov dword [0x420844], 1
jmp 0x408f5b
cmp dword [0x41b180], 0
jne 0x40a2a2
mov dword [ebp - 0x20], 0xffffffff
jmp 0x408f5b
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0040c080
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x40a4e3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x20c], 0
push 0x419df0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x40a363
push 0x419e00
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x228], eax
push 0x419e14
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x204], eax
push 0x419e2c
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x228], 0
je 0x40a363
cmp dword [ebp - 0x204], 0
je 0x40a363
cmp dword [ebp - 0x218], 0
je 0x40a363
push 0
push 1
push 0
call dword [ebp - 0x204]
mov dword [ebp - 0x20c], eax
cmp dword [0x420848], 0
jne 0x40a4b5
cmp dword [ebp - 0x210], 0
jle 0x40a406
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
cmp edx, dword [ebp - 0x208]
jae 0x40a3ae
or eax, 0xffffffff
sub eax, dword [ebp - 0x208]
add eax, dword [ebp - 0x21c]
mov dword [ebp - 0x200], eax
jmp 0x40a3c0
mov ecx, dword [ebp - 0x21c]
sub ecx, dword [ebp - 0x208]
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x200]
cmp edx, dword [ebp - 0x210]
jb 0x40a406
cmp dword [ebp - 0x20c], 0
je 0x40a3e4
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x22c], 0
je 0x40a3fa
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x20], 0
jmp 0x408f5b
call fcn.0040c170
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x40a452
cmp dword [ebp - 0x20c], 0
je 0x40a430
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x22c], 0
je 0x40a446
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x20], 0
jmp 0x408f5b
cmp dword [ebp - 0x20c], 0
je 0x40a4b0
mov dword [ebp - 0x224], 0xfff0bdc0
mov dword [ebp - 0x220], 0xffffffff
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x20c]
push edx
call dword [ebp - 0x218]
push 0x4ff
push 0x64
push 0
lea eax, [ebp - 0x20c]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [ebp - 0x228]
jmp 0x40a363
cmp dword [ebp - 0x20c], 0
je 0x40a4cb
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x22c], 0
je 0x40a4e1
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40a4f8
cmp dword [0x420848], 0
jne 0x40a4f8
mov dword [ebp - 0x20], 0
jmp 0x408f5b
mov ecx, dword [0x420800]
mov dword [ebp - 0x20], ecx
cmp dword [0x420990], 0
je 0x40a511
call fcn.0040c170
jmp 0x40a501
mov dword [0x420990], 1
mov dword [ebp - 0x1fc], 0
jmp 0x40a536
mov edx, dword [ebp - 0x1fc]
add edx, 1
mov dword [ebp - 0x1fc], edx
mov eax, dword [ebp - 0x1fc]
cmp eax, dword [0x420848]
jge 0x40a560
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [ebp - 0x1fc]
mov eax, dword [edx*4 + 0x420804]
mov dword [ecx*4 + 0x420800], eax
jmp 0x40a527
mov ecx, dword [0x420848]
sub ecx, 1
mov dword [0x420848], ecx
mov dword [0x420990], 0
jmp 0x408f5b
mov dword [ebp - 0x18], 0x2776
mov dword [ebp - 0x24], 0xfffffffd
jmp 0x40a590
push 1
push 0x101
push 0x41b038
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x4204a0]
push eax
call fcn.0040c3b0
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0x20], 0x41b038
mov edx, dword [ebp + 0x2c]
mov dword [edx + 0x1c], 2
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push 0x30030105
mov edx, dword [ebp - 0x24]
push edx
call dword [ebp + 0x18]
mov ecx, dword [ebp - 0xdc]
xor ecx, ebp
call fcn.0040f735
mov esp, ebp
pop ebp
ret 0x28