Function at 0x414700
Capabilities:
Create thread
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4314ef
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x43c4c0]
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 dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
push 0x104
xor ebx, ebx
push 0x43ee98
push ebx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4147a5
xor ecx, ecx
xor edi, edi
push 0x20
mov eax, str.PCSUService:_GetModuleFileName:
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], cx
call fcn.00406cf0
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, esi
call fcn.0040ff60
cmp dword [ebp - 0x38], 8
jb 0x415108
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00418932
add esp, 4
jmp 0x415108
xor eax, eax
mov word [ebp - 0x68], ax
mov eax, 0x43ee98
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4147c0
sub eax, edx
sar eax, 1
push eax
mov eax, 0x43ee98
lea esi, [ebp - 0x68]
call fcn.00406cf0
mov ecx, esi
push ecx
mov edi, 0xf
mov dword [ebp - 4], 1
call fcn.00415550
push eax
xor ecx, ecx
lea esi, [ebp - 0x30]
lea edx, [ebp - 0x68]
call fcn.004073b0
mov edi, eax
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00402a70
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 8
jb 0x414823
mov edx, dword [ebp - 0x30]
push edx
call fcn.00418932
add esp, 4
mov eax, dword [ebp - 0x68]
mov edi, 8
cmp dword [ebp - 0x54], edi
jae 0x414833
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x41489e
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x4c], ax
push 0x22
mov eax, str.PCSUService:_SetCurrentDirectory:
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
call fcn.00406cf0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, esi
call fcn.0040ff60
mov esi, 8
cmp dword [ebp - 0x38], esi
jb 0x414884
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00418932
add esp, 4
cmp dword [ebp - 0x54], esi
jb 0x415108
mov edx, dword [ebp - 0x68]
push edx
call fcn.00418932
add esp, 4
jmp 0x415108
push 0x10
mov byte [ebp - 4], 4
call fcn.00418b13
mov esi, eax
add esp, 4
mov dword [ebp - 0x11c], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x4148e1
push str.PCSUService.conf
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.00415990
add esp, 0xc
mov edx, eax
mov ecx, esi
mov ebx, 1
call fcn.00406e80
jmp 0x4148e3
xor eax, eax
mov dword [0x43ee90], eax
test bl, 1
je 0x414901
and ebx, 0xfffffffe
cmp dword [ebp - 0x1c], edi
jb 0x414901
mov edx, dword [ebp - 0x30]
push edx
call fcn.00418932
add esp, 4
mov dword [ebp - 4], 1
push 0x14
mov byte [ebp - 4], 7
call fcn.00418b13
add esp, 4
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x414a85
xor eax, eax
mov word [ebp - 0x84], ax
mov edi, 7
push 0xd
mov eax, str.log_autoflush
lea esi, [ebp - 0x84]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], 0
call fcn.00406cf0
mov byte [ebp - 4], 9
xor ecx, ecx
or ebx, 2
push 9
mov eax, str.log_level
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], cx
call fcn.00406cf0
mov dword [ebp - 4], 0xa
xor edx, edx
or ebx, 4
push 0xc
mov eax, str.log_filename
lea esi, [ebp - 0xbc]
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], dx
call fcn.00406cf0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0xb
or ebx, 8
push eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x114], ebx
call fcn.00407240
mov esi, eax
lea ecx, [ebp - 0xd8]
push ecx
mov dword [ebp - 4], 0xc
or ebx, 0x10
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x114], ebx
call fcn.00407240
mov dword [ebp - 0x124], eax
lea edx, [ebp - 0x110]
mov dword [ebp - 4], 0xd
or ebx, 0x20
push edx
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x114], ebx
call fcn.00407240
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], 0xe
mov eax, dword [esi + 0x10]
or ebx, 0x40
push str.true
mov edi, 4
mov ecx, esi
mov dword [ebp - 0x114], ebx
call fcn.00409300
test eax, eax
mov eax, dword [ebp - 0x124]
sete cl
cmp dword [eax + 0x14], 8
jb 0x414a5e
mov eax, dword [eax]
test cl, cl
setne cl
movzx edx, cl
push edx
push eax
call fcn.0041adcf
mov edi, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
add esp, 4
mov ecx, eax
call fcn.0040b1a0
jmp 0x414a87
xor eax, eax
mov dword [0x43ee8c], eax
test bl, 0x40
je 0x414aca
and ebx, 0xffffffbf
cmp dword [ebp - 0xfc], 8
jb 0x414aac
mov eax, dword [ebp - 0x110]
push eax
call fcn.00418932
add esp, 4
xor edi, edi
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x100], edi
mov word [ebp - 0x110], cx
jmp 0x414acf
xor edi, edi
lea esi, [edi + 7]
test bl, 0x20
je 0x414b04
and ebx, 0xffffffdf
cmp dword [ebp - 0xc4], 8
jb 0x414aef
mov edx, dword [ebp - 0xd8]
push edx
call fcn.00418932
add esp, 4
xor eax, eax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], edi
mov word [ebp - 0xd8], ax
test bl, 0x10
je 0x414b2a
and ebx, 0xffffffef
cmp dword [ebp - 0x1c], 8
jb 0x414b1e
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00418932
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
test bl, 8
je 0x414b5f
and ebx, 0xfffffff7
cmp dword [ebp - 0xa8], 8
jb 0x414b4a
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00418932
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], edi
mov word [ebp - 0xbc], cx
test bl, 4
je 0x414b85
and ebx, 0xfffffffb
cmp dword [ebp - 0x38], 8
jb 0x414b79
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00418932
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], ax
test bl, 2
je 0x414b9f
cmp dword [ebp - 0x70], 8
jb 0x414b9f
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00418932
add esp, 4
mov dword [ebp - 4], 1
xor edx, edx
mov ebx, 7
push 9
mov eax, str.unique_id
lea esi, [ebp - 0x84]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], dx
call fcn.00406cf0
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.00407240
mov edi, eax
mov esi, 0x43d878
mov byte [ebp - 4], 0x17
call fcn.00402a70
mov esi, 8
cmp dword [ebp - 0x1c], esi
jb 0x414c05
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00418932
add esp, 4
xor edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], dx
cmp dword [ebp - 0x70], esi
jb 0x414c2d
mov eax, dword [ebp - 0x84]
push eax
call fcn.00418932
add esp, 4
lea ecx, [ebp - 0xa0]
push str.http:__startup.pcspeedup.co_userlog.asmx_logEvent2_uniqueID
push ecx
mov ebx, 0x43d878
call fcn.00408eb0
add esp, 8
cmp dword [ebp + 8], 2
mov byte [ebp - 4], 0x18
jne 0x414d95
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x4c]
call fcn.00406de0
mov esi, eax
lea eax, [ebp - 0x84]
push str.eventNameserviceActioneventValue
push eax
mov ebx, 0x43d894
mov byte [ebp - 4], 0x19
call fcn.00408eb0
push eax
mov eax, 0x435fdc
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x1a
call fcn.0040dc70
mov ecx, eax
lea edx, [ebp - 0xd8]
push edx
mov eax, esi
mov byte [ebp - 4], 0x1b
call fcn.0040dcc0
push eax
mov eax, str.productID1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1c
call fcn.0040dc70
add esp, 0x14
xor ebx, ebx
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 0x1d
call fcn.00409740
mov esi, 8
cmp dword [ebp - 0x1c], esi
jb 0x414ceb
mov eax, dword [ebp - 0x30]
push eax
call fcn.00418932
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
cmp dword [ebp - 0xc4], esi
jb 0x414d13
mov edx, dword [ebp - 0xd8]
push edx
call fcn.00418932
add esp, 4
xor eax, eax
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], ebx
mov word [ebp - 0xd8], ax
cmp dword [ebp - 0xfc], esi
jb 0x414d3f
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.00418932
add esp, 4
xor edx, edx
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x100], ebx
mov word [ebp - 0x110], dx
cmp dword [ebp - 0x70], esi
jb 0x414d68
mov eax, dword [ebp - 0x84]
push eax
call fcn.00418932
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], cx
cmp dword [ebp - 0x38], esi
jb 0x414e1c
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00418932
add esp, 4
jmp 0x414e1c
lea eax, [ebp - 0xd8]
push str.eventNameserviceStarteventValue
push eax
mov ebx, 0x43d894
call fcn.00408eb0
push eax
mov eax, str.productID1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1e
call fcn.0040dc70
add esp, 0xc
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 0x1f
call fcn.00409740
mov esi, 8
cmp dword [ebp - 0x1c], esi
jb 0x414deb
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00418932
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], dx
cmp dword [ebp - 0xc4], esi
jb 0x414e1a
mov eax, dword [ebp - 0xd8]
push eax
call fcn.00418932
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp - 0xa0]
mov edi, 8
cmp dword [ebp - 0x8c], edi
jae 0x414e35
lea ecx, [ebp - 0xa0]
call fcn.00412bd0
push 0x70
call fcn.00418b13
add esp, 4
cmp eax, ebx
je 0x414e4f
call fcn.0040fec0
jmp 0x414e51
xor eax, eax
push str.PCSpeedUp.s3db
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0xf4]
push edx
mov dword [0x43ee88], eax
call fcn.00415990
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 0x20
call fcn.00417220
add esp, 0x10
test al, al
jne 0x414ee7
cmp dword [ebp - 0xe0], edi
jb 0x414e99
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.00418932
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xe4], ebx
mov word [ebp - 0xf4], dx
cmp dword [ebp - 0x8c], edi
jb 0x414eca
mov eax, dword [ebp - 0xa0]
push eax
call fcn.00418932
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x54], edi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], cx
jmp 0x414887
cmp dword [ebp + 8], 2
jne 0x414fde
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x30]
call fcn.00406de0
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x20]
push str.__install
mov edi, 9
lea ecx, [ebp - 0x30]
call fcn.00409300
test eax, eax
jne 0x414f29
call fcn.00413fb0
jmp 0x414fca
mov esi, str.__uninstall
lea ecx, [ebp - 0x30]
call fcn.00408e80
test al, al
je 0x414f44
call fcn.004142c0
jmp 0x414fca
mov esi, str.__console
lea ecx, [ebp - 0x30]
call fcn.00408e80
test al, al
je 0x414fa9
mov edi, dword [ebp - 0x118]
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push eax
push 0x410a20
push ebx
push ebx
call esi
mov dword [0x43ee5c], eax
cmp eax, ebx
jne 0x414f7d
call fcn.00412ab0
mov eax, dword [edi]
push ebx
push ebx
push eax
push 0x413660
push ebx
push ebx
call esi
mov dword [0x43ee64], eax
cmp eax, ebx
jne 0x414f9e
call fcn.00413c30
mov eax, dword [0x43ee64]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x414fca
push str.PC_Speed_Up_Service__Version_1.0__n_c__Copyright_2011_Speedchecker_Ltd._n
push 0x43dbe0
call fcn.0040d450
push str.Usage:_nPCSUService____install____uninstall____console__n
push 0x43dbe0
call fcn.0040d450
add esp, 0x10
mov ecx, dword [0x43ee60]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x415030
lea edx, [ebp - 0xb0]
push edx
mov dword [ebp - 0xb0], str.PCSUService
mov dword [ebp - 0xac], 0x413db0
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x41503c
mov eax, str.PCSUService:_StartServiceCtrlDispatcher:
lea ecx, [ebp - 0x30]
call fcn.00406de0
mov byte [ebp - 4], 0x22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea edi, [ebp - 0x30]
call fcn.00410090
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x20
call fcn.00406e20
call fcn.004174c0
mov eax, dword [0x43ee90]
cmp eax, ebx
je 0x415050
push eax
call fcn.00415140
mov eax, dword [0x43ee88]
cmp eax, ebx
je 0x41505e
call fcn.004151d0
mov edi, dword [0x43ee8c]
cmp edi, ebx
je 0x415078
mov esi, edi
call fcn.0040b3f0
push esi
call fcn.00418932
add esp, 4
mov esi, 8
cmp dword [ebp - 0xe0], esi
jb 0x415094
mov eax, dword [ebp - 0xf4]
push eax
call fcn.00418932
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xe4], ebx
mov word [ebp - 0xf4], cx
cmp dword [ebp - 0x8c], esi
jb 0x4150c5
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00418932
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], ax
cmp dword [ebp - 0x54], esi
jb 0x4150eb
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00418932
add esp, 4
xor eax, eax
jmp 0x41510d
mov eax, 1
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.0041893d
mov esp, ebp
pop ebp
ret