Function at 0x40c9e0
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b1a9
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
or esi, 0xffffffff
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x644], edi
mov dword [ebp - 0x640], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
call fcn.00414020
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x24]
imul ecx
mov dword [edi], 0
lea edi, [esi + 2]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
cmp eax, edi
jle 0x40d018
mov esi, dword [ebp - 0x24]
add esi, 0x60
jmp 0x40ca90
xor eax, eax
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x6c], al
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], eax
mov word [ebp - 0x54], ax
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x3c], al
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 8
jb 0x40cadd
mov edx, dword [esi]
jmp 0x40cadf
mov edx, esi
cmp word [edx], 0
jne 0x40cae9
xor ecx, ecx
jmp 0x40cb07
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x648], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40caf4
sub ecx, dword [ebp - 0x648]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x84]
call fcn.0041f200
mov byte [ebp - 4], 5
lea eax, [ebp - 0x84]
cmp dword [ebp - 0x70], 8
push 0x5e9ff0
cmovae eax, dword [ebp - 0x84]
push eax
call fcn.00552352
add esp, 8
test eax, eax
je 0x40cd74
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
push str._Setup
cmovae eax, dword [ebp - 0x84]
push eax
call fcn.00552352
add esp, 8
test eax, eax
je 0x40cd3f
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
push 0x5ea028
cmovae eax, dword [ebp - 0x84]
push eax
call fcn.00552352
add esp, 8
test eax, eax
je 0x40ccdc
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
push str._UnInstall
cmovae eax, dword [ebp - 0x84]
push eax
call fcn.00552352
add esp, 8
test eax, eax
je 0x40cca3
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
push 0x5ea06c
cmovae eax, dword [ebp - 0x84]
push eax
call fcn.00552352
add esp, 8
test eax, eax
je 0x40cbfb
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call fcn.00402150
inc edi
add esi, 0x60
cmp edi, dword [ebp - 0x18]
jl 0x40ca90
or esi, 0xffffffff
jmp 0x40d018
mov eax, dword [0x627970]
mov esi, 4
mov dword [ebp - 0x640], esi
test eax, eax
je 0x40cc68
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x204], 0x11c
push ecx
call eax
cmp dword [ebp - 0x1f4], 2
jne 0x40cc68
cmp dword [ebp - 0x200], 5
jb 0x40cc68
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
push 0x40d5b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 4], eax
test eax, eax
je 0x40cc93
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x84]
call fcn.00402150
jmp 0x40d018
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x40cc93
push str.RegisterServiceProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 8], eax
test eax, eax
je 0x40cc93
push 1
push 0
call eax
lea ecx, [ebp - 0x84]
call fcn.00402150
jmp 0x40d018
mov eax, dword [ebp - 0x644]
mov esi, 3
mov ecx, ebx
mov dword [ebp - 0x640], esi
mov dword [eax], 1
call fcn.0040d070
test eax, eax
je 0x40cccc
mov ecx, ebx
call fcn.0040c820
lea ecx, [ebp - 0x84]
call fcn.00402150
jmp 0x40d018
mov eax, dword [ebp - 0x644]
mov esi, 2
mov ecx, ebx
mov dword [ebp - 0x640], esi
mov dword [eax], 1
call fcn.0040d070
test eax, eax
je 0x40cd24
mov ecx, ebx
call fcn.0040c820
test eax, eax
je 0x40cd2f
push 0x5ea030
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x84]
call fcn.00402150
jmp 0x40d018
push 0x5ea040
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x84]
call fcn.00402150
jmp 0x40d018
mov eax, dword [ebp - 0x644]
mov esi, 1
mov ecx, ebx
mov dword [ebp - 0x640], esi
mov dword [eax], esi
call fcn.0040d070
test eax, eax
jne 0x40cd64
mov ecx, ebx
call fcn.0040c600
lea ecx, [ebp - 0x84]
call fcn.00402150
jmp 0x40d018
xor eax, eax
mov dword [ebp - 0x640], eax
mov eax, dword [ebp - 0x644]
push 0x438
push 0
mov dword [eax], 1
lea eax, [ebp - 0x63c]
push eax
call fcn.005557a0
add esp, 0xc
mov dword [ebp - method.asp::CNTServiceEx.virtual_0], vtable.asp::CNTServiceEx.0
lea eax, [ebp - 0x404]
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x628], 0
push str.FLService
push 0x100
push eax
call fcn.00553b61
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x604]
push 0x100
push eax
call fcn.00553b61
lea eax, [ebp - 0x63c]
mov dword [ebp - 0x630], 0
add esp, 0xc
mov dword [ebp - 0x634], 0
mov dword [0x627900], eax
push 0
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 6
push eax
call fcn.00413240
sub esp, 0x60
lea esi, [ebx + 0x34]
mov edx, esp
mov dword [ebp - 0x18], esp
xor eax, eax
mov dword [ebp - 0x648], edx
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
mov dword [edx + 0x2c], 0xf
mov dword [edx + 0x28], eax
mov byte [edx + 0x18], al
mov dword [edx + 0x44], 7
mov dword [edx + 0x40], eax
mov word [edx + 0x30], ax
mov dword [edx + 0x5c], 0xf
mov dword [edx + 0x58], eax
mov byte [edx + 0x48], al
mov byte [ebp - 4], 0xb
test esi, esi
je 0x40cea8
cmp word [esi], ax
jne 0x40ce88
xor ecx, ecx
jmp 0x40ce9f
mov ecx, esi
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ce90
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.0041f200
sub esp, 0x60
lea esi, [ebx + 0x234]
mov edx, esp
mov dword [ebp - 0x648], esp
xor eax, eax
mov dword [ebp - 0x644], edx
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
mov dword [edx + 0x2c], 0xf
mov dword [edx + 0x28], eax
mov byte [edx + 0x18], al
mov dword [edx + 0x44], 7
mov dword [edx + 0x40], eax
mov word [edx + 0x30], ax
mov dword [edx + 0x5c], 0xf
mov dword [edx + 0x58], eax
mov byte [edx + 0x48], al
mov byte [ebp - 4], 0x10
test esi, esi
je 0x40cf28
cmp word [esi], ax
jne 0x40cf0b
xor ecx, ecx
jmp 0x40cf1f
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cf10
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.0041f200
sub esp, 0x60
xor eax, eax
mov edx, esp
mov dword [ebp - 0x644], esp
mov dword [ebp - 0x64c], edx
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
mov dword [edx + 0x2c], 0xf
mov dword [edx + 0x28], eax
mov byte [edx + 0x18], al
mov dword [edx + 0x44], 7
mov dword [edx + 0x40], eax
mov word [edx + 0x30], ax
mov dword [edx + 0x5c], 0xf
mov dword [edx + 0x58], eax
mov byte [edx + 0x48], al
mov byte [ebp - 4], 0x15
test esi, esi
je 0x40cfa8
cmp word [esi], ax
jne 0x40cf85
xor ecx, ecx
jmp 0x40cf9f
mov ecx, esi
lea edi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cf90
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.0041f200
sub esp, 0x60
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0xe4]
mov ecx, esp
push eax
call fcn.00402340
push 0
push 0
push 0
push 2
lea ecx, [ebp - 0x63c]
mov byte [ebp - 4], 7
call fcn.0040dca0
push 0
push 0
test eax, eax
je 0x40cfe3
push 0x5e9ff8
jmp 0x40cfe8
push 0x5ea008
call fcn.00444a00
lea ecx, [ebp - 0xe4]
call fcn.00402150
lea ecx, [ebp - 0x63c]
mov byte [ebp - 4], 5
call fcn.0040d8a0
lea ecx, [ebp - 0x84]
call fcn.00402150
mov esi, dword [ebp - 0x640]
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x40d047
mov ebx, dword [ebp - 0x20]
mov esi, edi
cmp edi, ebx
je 0x40d036
mov ecx, esi
call fcn.00402150
add esi, 0x60
cmp esi, ebx
jne 0x40d028
push edi
call fcn.0043b833
mov eax, dword [ebp - 0x640]
add esp, 4
jmp 0x40d049
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00550cb3
mov esp, ebp
pop ebp
ret 4