Function at 0x409090
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 [0x41b250]
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], 0x2c
ja case.0x409113.5
mov eax, dword [ebp - 0x230]
movzx ecx, byte [eax + 0x40a82c]
jmp dword [ecx*4 + 0x40a7d4]
mov eax, 1
jmp 0x40a7bf
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 0x40a7bf
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0x20], str.2023A
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 0x40a7bf
mov dword [ebp - 0x18], 0x2777
mov dword [ebp - 0x24], 0xfffffffd
jmp 0x40a77c
mov dword [ebp - 0x20], 1
cmp dword [0x41c264], 0
je 0x4091af
mov dword [ebp - 0x20], 5
jmp 0x40912b
push 0x101
mov edx, dword [ebp - 0x28]
push edx
push 0x41c118
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x4210c0
push 0x41c3c2
push 0x41c3c3
push 0x41c3c4
push 0x41c3c5
push 7
mov eax, dword [ebp + 8]
push eax
call fcn.004012c0
test eax, eax
jne 0x409286
mov dword [ebp - 0x2c], 5
push 1
push 0x12c
push 0x421a80
push 0x1b6f
mov ecx, dword [0x421580]
push ecx
call fcn.0040c660
push 0x421a80
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x101
ja 0x409286
push 0x41c118
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x2c]
cmp eax, 0x101
jbe 0x409256
mov edx, 0x101
sub edx, dword [ebp - 0x2c]
mov byte [edx + 0x41c118], 0
push 0x41ae54
push 0x41c118
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x421a80
push 0x41c118
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x41ae58
push 0x41c118
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [0x41acc0], 0
je 0x409350
mov dword [0x41c398], 1
push 0x41c118
mov eax, dword [0x41c380]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
mov ecx, dword [0x41c380]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
cmp dword [0x41c21c], 0
je 0x4092d8
mov eax, dword [0x41c21c]
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 [0x41c21c], eax
cmp dword [0x41c21c], 0
je 0x409331
mov eax, dword [0x41c21c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x409331
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x41c21c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push 1
push 0
mov ecx, dword [0x41c380]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [ebp - 0x20], 1
jmp 0x40912b
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
push 0x41ae5c
push str.300__300__700__700
push 0x20
call fcn.004020f0
test eax, eax
je 0x4093c3
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0x41c118
push str.10111011
push 0x11
call fcn.004020f0
test eax, eax
je 0x4093c3
lea ecx, [ebp - 0x18]
push ecx
push 0x41ae78
push 0x41ae7c
mov edx, dword [ebp - 0x1c]
push edx
push 0x41c3c6
push 0x41ae80
push 0x19
call fcn.004020f0
test eax, eax
je 0x4093c3
mov dword [ebp - 0x20], 1
jmp 0x4096b8
cmp dword [0x41acc0], 0
je 0x409413
mov dword [0x41c398], 0
mov eax, dword [0x41cf44]
push eax
mov ecx, dword [0x41c380]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x20], 1
mov edx, dword [ebp + 8]
cmp edx, dword [0x41c380]
je 0x40940c
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40912b
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0
push 0x41ae84
push 0x15
call fcn.004020f0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 8]
cmp edx, dword [0x41c380]
je 0x409445
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4096b8
cmp dword [0x41acc0], 0
je 0x4094e7
cmp dword [0x41c21c], 0
je 0x40946d
mov ecx, dword [0x41c21c]
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 [0x41c21c], eax
cmp dword [0x41c21c], 0
je 0x4094c8
mov ecx, dword [0x41c21c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4094c8
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [0x41c21c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push 1
push 0
mov edx, dword [0x41c380]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [ebp - 0x20], 1
jmp 0x40912b
lea eax, [ebp - 0x18]
push eax
push 0x41ae88
push 0x41ae8c
mov ecx, dword [ebp - 0x28]
push ecx
push 0x41c3c7
push 0x41ae90
push 0x19
call fcn.004020f0
mov dword [ebp - 0x20], eax
jmp 0x4096b8
push 0x101
mov edx, dword [ebp - 0x28]
push edx
push 0x41c118
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x4210c0
push 0x41c3c8
push 0x41c3c9
push 0x41c3ca
push 0x41c3cb
push 7
mov eax, dword [ebp + 8]
push eax
call fcn.004012c0
test eax, eax
jne 0x4095e4
mov dword [ebp - 0x30], 5
push 1
push 0x12c
push 0x421a80
push 0x1b6f
mov ecx, dword [0x421580]
push ecx
call fcn.0040c660
push 0x421a80
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x101
ja 0x4095e4
push 0x41c118
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x30]
cmp eax, 0x101
jbe 0x4095b4
mov edx, 0x101
sub edx, dword [ebp - 0x30]
mov byte [edx + 0x41c118], 0
push 0x41ae94
push 0x41c118
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x421a80
push 0x41c118
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x41ae98
push 0x41c118
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [0x41acc0], 0
je 0x40960c
push 0x41c118
mov eax, dword [0x41c380]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [ebp - 0x20], 1
jmp 0x40912b
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push 0
push 0x41c118
push 0x41ae9c
push 0x11
call fcn.004020f0
mov dword [ebp - 0x20], eax
jmp 0x4096b8
mov dword [0x41acc0], 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040c280
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 0x409687
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x41c380]
je 0x409687
push 5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4096b8
mov dword [0x41acc0], 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 0x4096ca
mov dword [ebp - 0x24], 0xffffffff
jmp 0x40a77c
jmp 0x40912b
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 [0x41bef8], 0
jne 0x409734
call fcn.0040c420
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_GetCursor]
cmp eax, dword [ebp - 0x38]
jne 0x409715
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebp - 0x3c], 0
jne 0x40971d
jmp 0x409734
push 0x1f4
call fcn.0040c5b0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x409732
jmp 0x409734
jmp 0x4096ef
mov dword [ebp - 0x20], 1
jmp 0x40912b
push 0x41ce40
call fcn.0040c9b0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x409778
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
sub eax, 0x41ce40
add eax, 1
push eax
push 0x41ce40
push 0x41c118
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x40977f
mov byte [0x41c118], 0
mov eax, dword [ebp + 0x2c]
mov dword [eax + 0x20], 0x41c118
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 0x40a7bf
mov ecx, dword [ebp - 0x28]
movsx edx, byte [ecx]
test edx, edx
je 0x4097e6
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4097d1
mov dword [ebp - 0x18], 0x279e
mov dword [ebp - 0x24], 0xffffffff
jmp 0x40a77c
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 0x40981f
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0040c280
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x4097fe
cmp dword [ebp - 0x4c], 2
jle 0x409811
mov dword [ebp - 0x18], 0x27a0
mov dword [ebp - 0x24], 0xffffffff
jmp 0x40a77c
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 [0x41c380]
push eax
call fcn.0040aa40
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x40985d
mov dword [ebp - 0x18], 0x279f
mov dword [ebp - 0x24], 0xffffffff
jmp 0x40a77c
cmp dword [ebp - 0x58], 0
je 0x40989d
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 0x40a7bf
mov dword [ebp - 0x20], 1
jmp 0x40912b
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0040c280
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.0x4098e2
mov ecx, dword [ebp - 0x234]
jmp dword [ecx*4 + 0x40a85c]
mov edx, dword [0x41c38c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040c280
mov dword [0x41c38c], eax
jmp 0x40912b
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0040c280
mov dword [ebp - 0x60], eax
cmp dword [0x41c230], 0
je 0x4099c3
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x60], 1
jne 0x40993b
mov dword [ebp - 0x64], 1
jmp 0x40994f
cmp dword [ebp - 0x60], 0
jne 0x40994a
mov dword [ebp - 0x64], 0
jmp 0x40994f
jmp 0x40912b
push 0x41aea0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x409968
jmp 0x40912b
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 0x4099b7
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 0x4099b7
cmp dword [ebp - 0x64], 1
jne 0x4099a7
mov dword [0x41c39c], 1
jmp 0x4099b7
cmp dword [ebp - 0x64], 0
jne 0x4099b7
mov dword [0x41c39c], 0
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4099e8
cmp dword [0x41c234], 0
je 0x4099e8
cmp dword [ebp - 0x60], 1
je 0x4099d8
cmp dword [ebp - 0x60], 0
jne 0x4099e8
mov edx, dword [ebp - 0x60]
mov dword [0x41c39c], edx
mov dword [ebp - 0x20], 1
jmp 0x40912b
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040c280
mov dword [ebp - 0x60], eax
cmp dword [0x41cf44], 0
jne 0x409a0b
mov dword [ebp - 0x20], 0
jmp 0x409a12
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x60], 0
jne 0x409a38
mov dword [0x41cf44], 0
mov ecx, dword [0x41cf44]
push ecx
mov edx, dword [0x41c380]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x409a5b
cmp dword [ebp - 0x60], 1
jne 0x409a5b
mov dword [0x41cf44], 7
mov eax, dword [0x41cf44]
push eax
mov ecx, dword [0x41c380]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40912b
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040c280
mov dword [ebp - 0x60], eax
mov eax, dword [0x41acbc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x60], 0
je 0x409a80
cmp dword [ebp - 0x60], 1
jne 0x409a89
mov ecx, dword [ebp - 0x60]
mov dword [0x41acbc], ecx
jmp 0x40912b
mov edx, dword [ebp + 0x2c]
mov dword [edx + 0x20], 0x41ce40
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 0x40a7bf
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040c280
mov dword [ebp - 0x60], eax
mov ecx, dword [0x41c22c]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x60], 1
jne 0x409ae8
mov dword [0x41c22c], 1
mov eax, 0xfffffffa
jmp 0x40a7bf
jmp 0x40912b
mov dword [ebp - 0x78], 0
cmp dword [0x41c234], 0
je 0x409ba5
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 0x409b54
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 0x409b3e
mov ecx, dword [ebp - 0x7c]
movzx edx, word [ecx]
test edx, edx
je 0x409b3e
mov eax, dword [ebp - 0x7c]
add eax, 2
mov dword [ebp - 0x7c], eax
jmp 0x409b1e
mov ecx, dword [ebp - 0x7c]
movzx edx, word [ecx]
cmp edx, 0x22
jne 0x409b52
mov eax, dword [ebp - 0x7c]
add eax, 2
mov dword [ebp - 0x7c], eax
jmp 0x409b7f
mov ecx, dword [ebp - 0x7c]
movzx edx, word [ecx]
cmp edx, 0x20
je 0x409b7f
mov eax, dword [ebp - 0x7c]
movzx ecx, word [eax]
cmp ecx, 9
je 0x409b7f
mov edx, dword [ebp - 0x7c]
movzx eax, word [edx]
test eax, eax
je 0x409b7f
mov ecx, dword [ebp - 0x7c]
add ecx, 2
mov dword [ebp - 0x7c], ecx
jmp 0x409b54
mov edx, dword [ebp - 0x7c]
movzx eax, word [edx]
cmp eax, 0x20
je 0x409b95
mov ecx, dword [ebp - 0x7c]
movzx edx, word [ecx]
cmp edx, 9
jne 0x409ba0
mov eax, dword [ebp - 0x7c]
add eax, 2
mov dword [ebp - 0x7c], eax
jmp 0x409b7f
jmp 0x409cd0
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 0x409bfc
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 0x409be6
mov eax, dword [ebp - 0x74]
movsx ecx, byte [eax]
test ecx, ecx
je 0x409be6
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x74], eax
jmp 0x409bc2
mov eax, dword [ebp - 0x74]
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x409bfa
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
jmp 0x409c2b
mov eax, dword [ebp - 0x74]
movsx ecx, byte [eax]
cmp ecx, 0x20
je 0x409c2b
mov edx, dword [ebp - 0x74]
movsx eax, byte [edx]
cmp eax, 9
je 0x409c2b
mov ecx, dword [ebp - 0x74]
movsx edx, byte [ecx]
test edx, edx
je 0x409c2b
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x74], eax
jmp 0x409bfc
mov ecx, dword [ebp - 0x74]
movsx edx, byte [ecx]
cmp edx, 0x20
je 0x409c41
mov eax, dword [ebp - 0x74]
movsx ecx, byte [eax]
cmp ecx, 9
jne 0x409c50
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x74], eax
jmp 0x409c2b
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 0x409c91
cmp dword [ebp - 0x7c], 0
jne 0x409cb8
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 0x40a77c
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 + 0x20], eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0x1c], 0x80
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 0x409d12
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 0x40a7bf
mov dword [ebp - 0x20], 0
cmp dword [0x41c238], 0
je case.default.0x409e14
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040c280
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
je 0x409d4a
cmp dword [ebp - 0x60], 4
jne 0x409df8
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040c280
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x409d79
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
cmp ecx, 0x30
jne 0x409d79
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 0x409d99
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0x30
jne 0x409d99
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 0x409df8
push 0x7c
mov eax, dword [ebp - 4]
push eax
call fcn.0040c3e0
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x409df8
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 0x409df8
mov edx, dword [ebp - 0x84]
push edx
call fcn.0040c280
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 4
ja case.default.0x409e14
mov ecx, dword [ebp - 0x238]
jmp dword [ecx*4 + 0x40a884]
mov edx, dword [0x41c258]
mov dword [ebp - 0x20], edx
mov dword [0x41c258], 0
jmp case.default.0x409e14
mov eax, dword [0x41c23c]
mov dword [ebp - 0x8c], eax
cmp dword [0x41c254], 0
je 0x409e4c
jmp case.default.0x409e14
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0040e150
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x409f4f
mov dword [0x41c254], 1
mov ecx, dword [ebp - 0x88]
and ecx, 1
je 0x409e8e
push 0
mov edx, dword [0x41c380]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x88]
and eax, 2
je 0x409f4f
mov dword [0x41c25c], 1
cmp dword [ebp - 0x8c], 0
je 0x409ec0
push 0
call fcn.0040f410
add esp, 4
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x409f46
cmp dword [0x41c25c], 0
je 0x409f46
cmp dword [0x41c384], 0
jne 0x409f46
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 0x409f39
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x409f1d
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x409f37
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 0x409edb
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x409ec9
mov ecx, dword [0x41c258]
mov dword [ebp - 0x20], ecx
jmp case.default.0x409e14
cmp dword [0x41c254], 0
je 0x409f82
call fcn.0040e2b0
mov dword [ebp - 0x20], eax
mov dword [0x41c254], 0
mov edx, dword [0x41cf44]
push edx
mov eax, dword [0x41c380]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x409e14
mov ecx, dword [0x41c23c]
mov dword [ebp - 0xac], ecx
cmp dword [0x41c254], 0
jne 0x409fa1
jmp case.default.0x409e14
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040c280
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x409fc3
mov dword [ebp - 0xcc], 0
mov dword [0x41c25c], 1
cmp dword [ebp - 0xac], 0
je 0x409feb
mov eax, dword [ebp - 0xcc]
push eax
call fcn.0040f410
add esp, 4
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x40a0ad
cmp dword [ebp - 0xcc], 0
je 0x40a016
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 [0x41c260], 0
cmp dword [0x41c25c], 0
je 0x40a0ad
cmp dword [0x41c384], 0
jne 0x40a0ad
cmp dword [0x41c260], 0
jne 0x40a0ad
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 0x40a09d
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a081
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x40a09b
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 0x40a03f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40a020
mov eax, dword [0x41c258]
mov dword [ebp - 0x20], eax
mov dword [0x41c258], 0
jmp case.default.0x409e14
cmp dword [0x41c254], 0
je case.default.0x409e14
cmp dword [ebp - 0x88], 0
je case.default.0x409e14
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.0040e350
mov dword [ebp - 0x20], eax
jmp 0x40912b
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040c280
mov dword [ebp - 0x60], eax
mov eax, dword [0x41c390]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x60], 0
je 0x40a113
cmp dword [ebp - 0x60], 1
jne 0x40a164
mov ecx, dword [ebp - 0x60]
mov dword [0x41c390], ecx
push 0
mov edx, dword [0x41c380]
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov dword [ebp - 0xd0], eax
cmp dword [0x41c390], 0
je 0x40a150
push 0
push 0xf060
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x40a164
push 1
push 0xf060
mov ecx, dword [ebp - 0xd0]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x40912b
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040c280
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 0x40a19a
mov edx, dword [ebp + 0x2c]
mov dword [edx + 0x20], 0x421280
jmp 0x40a20d
cmp dword [ebp - 0x60], 1
jne 0x40a20d
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
je 0x40a20d
mov dword [ebp - 0xd8], 0x100
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x1e0]
push ecx
push 0x421280
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 0x40a200
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 0x40a7bf
mov dword [ebp - 0x18], 0x279b
mov dword [ebp - 0x24], 0xfffffffe
jmp 0x40a77c
xor eax, eax
jmp 0x40a7bf
cmp dword [0x41c264], 0
jne 0x40a25d
mov dword [ebp - 0x20], 0xffffffff
jmp 0x40912b
mov eax, dword [0x41d088]
mov dword [ebp - 0x20], eax
cmp dword [0x421270], 0
je 0x40a27a
mov ecx, dword [ebp - 0x20]
or ecx, 0x8000
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040c280
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
and eax, 0x8000
je 0x40a2cd
mov ecx, dword [ebp - 0x1ec]
and ecx, 0xffff7fff
mov dword [ebp - 0x1ec], ecx
cmp dword [0x41c240], 0
je 0x40a2c3
mov edx, dword [ebp - 0x1ec]
or edx, 0x80
mov dword [ebp - 0x1ec], edx
mov dword [0x421270], 1
cmp dword [0x41c23c], 0
jne 0x40a2e5
mov eax, dword [ebp - 0x1ec]
and eax, 0xffffff9f
mov dword [ebp - 0x1ec], eax
cmp dword [0x41c240], 0
jne 0x40a300
mov ecx, dword [ebp - 0x1ec]
and ecx, 0xffffff7f
mov dword [ebp - 0x1ec], ecx
cmp dword [0x41c244], 0
jne 0x40a31b
mov edx, dword [ebp - 0x1ec]
and edx, 0xfffffeff
mov dword [ebp - 0x1ec], edx
mov eax, dword [ebp - 0x1ec]
mov dword [0x41d088], eax
mov dword [0x421bac], 0
mov ecx, dword [0x41d084]
mov dword [ebp - 0x1f0], ecx
cmp dword [ebp - 0x1f0], 2
je 0x40a360
cmp dword [ebp - 0x1f0], 3
je 0x40a360
cmp dword [ebp - 0x1f0], 5
je 0x40a360
cmp dword [ebp - 0x1f0], 6
jne 0x40a37b
mov edx, dword [0x41d094]
add edx, 1
mov dword [0x41d094], edx
mov dword [0x41d098], 0xea60
jmp 0x40a38f
mov dword [0x41d094], 0
mov dword [0x41d098], 0
push 0x41d080
mov eax, dword [0x41c268]
push eax
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
jmp 0x40912b
cmp dword [0x41c264], 0
jne 0x40a3ba
mov dword [ebp - 0x20], 0xffffffff
jmp 0x40912b
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0040c280
mov dword [ebp - 0x1f4], eax
mov edx, dword [0x41d084]
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1f4]
mov dword [0x41d084], ecx
cmp dword [ebp - 0x1f4], 2
je 0x40a40e
cmp dword [ebp - 0x1f4], 3
je 0x40a40e
cmp dword [ebp - 0x1f4], 5
je 0x40a40e
cmp dword [ebp - 0x1f4], 6
jne 0x40a429
mov edx, dword [0x41d094]
add edx, 1
mov dword [0x41d094], edx
mov dword [0x41d098], 0xea60
jmp 0x40a43d
mov dword [0x41d094], 0
mov dword [0x41d098], 0
push 0x41d080
mov eax, dword [0x41c268]
push eax
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov dword [0x421924], 1
jmp 0x40912b
cmp dword [0x41c264], 0
jne 0x40a472
mov dword [ebp - 0x20], 0xffffffff
jmp 0x40912b
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0040c280
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x40a6b3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x20c], 0
push 0x41aec8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x40a533
push 0x41aed8
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x228], eax
push 0x41aeec
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x204], eax
push 0x41af04
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 0x40a533
cmp dword [ebp - 0x204], 0
je 0x40a533
cmp dword [ebp - 0x218], 0
je 0x40a533
push 0
push 1
push 0
call dword [ebp - 0x204]
mov dword [ebp - 0x20c], eax
cmp dword [0x421928], 0
jne 0x40a685
cmp dword [ebp - 0x210], 0
jle 0x40a5d6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
cmp edx, dword [ebp - 0x208]
jae 0x40a57e
or eax, 0xffffffff
sub eax, dword [ebp - 0x208]
add eax, dword [ebp - 0x21c]
mov dword [ebp - 0x200], eax
jmp 0x40a590
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 0x40a5d6
cmp dword [ebp - 0x20c], 0
je 0x40a5b4
mov eax, dword [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x22c], 0
je 0x40a5ca
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x20], 0
jmp 0x40912b
call fcn.0040c420
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x40a622
cmp dword [ebp - 0x20c], 0
je 0x40a600
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x22c], 0
je 0x40a616
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x20], 0
jmp 0x40912b
cmp dword [ebp - 0x20c], 0
je 0x40a680
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 0x40a533
cmp dword [ebp - 0x20c], 0
je 0x40a69b
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x22c], 0
je 0x40a6b1
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40a6c8
cmp dword [0x421928], 0
jne 0x40a6c8
mov dword [ebp - 0x20], 0
jmp 0x40912b
mov ecx, dword [0x4218e0]
mov dword [ebp - 0x20], ecx
cmp dword [0x421a70], 0
je 0x40a6e1
call fcn.0040c420
jmp 0x40a6d1
mov dword [0x421a70], 1
mov dword [ebp - 0x1fc], 0
jmp 0x40a706
mov edx, dword [ebp - 0x1fc]
add edx, 1
mov dword [ebp - 0x1fc], edx
mov eax, dword [ebp - 0x1fc]
cmp eax, dword [0x421928]
jge 0x40a730
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [ebp - 0x1fc]
mov eax, dword [edx*4 + 0x4218e4]
mov dword [ecx*4 + 0x4218e0], eax
jmp 0x40a6f7
mov ecx, dword [0x421928]
sub ecx, 1
mov dword [0x421928], ecx
mov dword [0x421a70], 0
jmp 0x40912b
mov dword [ebp - 0x20], 0
jmp 0x40912b
mov dword [ebp - 0x20], 0
jmp 0x40912b
mov dword [ebp - 0x18], 0x2776
mov dword [ebp - 0x24], 0xfffffffd
jmp 0x40a77c
push 1
push 0x101
push 0x41c118
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x421580]
push eax
call fcn.0040c660
mov ecx, dword [ebp + 0x2c]
mov dword [ecx + 0x20], 0x41c118
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.0040fa05
mov esp, ebp
pop ebp
ret 0x28