Function at 0x479ca0
Capabilities:
Create service
Get common file path
Modify service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x605134
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x348], ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34c], esi
cmp word [esi], 0
mov dword [ebp - 0x358], edi
mov dword [ebp - 0x360], eax
jne 0x479cfb
xor ecx, ecx
jmp 0x479d0f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479d00
sub ecx, edx
sar ecx, 1
lea eax, [ebx + 4]
push ecx
push esi
mov ecx, eax
mov dword [ebp - 0x354], eax
call fcn.00407210
cmp word [edi], 0
jne 0x479d2b
xor ecx, ecx
jmp 0x479d3f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479d30
sub ecx, edx
sar ecx, 1
lea eax, [ebx + 0x1c]
push ecx
push edi
mov ecx, eax
mov dword [ebp - 0x364], eax
call fcn.00407210
mov esi, dword [ebp - 0x360]
cmp word [esi], 0
jne 0x479d61
xor ecx, ecx
jmp 0x479d75
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479d66
sub ecx, edx
sar ecx, 1
lea eax, [ebx + 0x34]
push ecx
push esi
mov ecx, eax
mov dword [ebp - 0x35c], eax
call fcn.00407210
cmp dword [ebx + 0x5c], 0
jne 0x479d9c
push 0xd
push str.GDSevicat.exe
lea ecx, [ebx + 0x4c]
call fcn.00407210
call fcn.0048bd30
test al, al
je 0x479dba
pop esi
pop ecx
pop edi
push ebx
pop ecx
push edi
push eax
pop edi
push ebp
push edi
push eax
pop eax
push esp
push edx
push ebx
pop eax
pop edi
push ebp
pop ebp
push ecx
pop edx
call fcn.0048c430
test al, al
je 0x479dd6
push esp
pop esp
push edi
pop ecx
pop ebp
push esp
push esp
pop eax
push esi
push esi
push ebp
pop esp
pop ebx
pop ebx
push edi
pop esp
push esp
pop edi
push edx
call fcn.0048bf60
test al, al
je 0x479dfd
push edx
push edi
pop eax
pop esp
push edi
pop ebx
pop esi
pop ebp
push esi
pop edi
push esp
push ecx
pop eax
push eax
push ecx
push ebp
push ecx
push ebp
pop esp
push esp
pop edx
pop esp
pop ebp
pop eax
pop esp
pop ebx
pop esi
push edi
push edi
pop ebp
mov eax, dword [0x6a0bcc]
test eax, eax
jne 0x479e3b
push 0x15c
call fcn.005caa24
add esp, 4
mov dword [ebp - 0x350], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x479e2d
mov ecx, eax
call fcn.00487140
jmp 0x479e2f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6a0bcc], eax
mov ecx, eax
call fcn.0040c090
mov edx, eax
mov dword [ebp - 0x234], 7
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp word [edx], ax
jne 0x479e6a
xor ecx, ecx
jmp 0x479e7f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479e70
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.00407210
mov eax, dword [0x6a0bcc]
mov dword [ebp - 4], 1
test eax, eax
jne 0x479ecb
push 0x15c
call fcn.005caa24
add esp, 4
mov dword [ebp - 0x350], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x479ec0
mov ecx, eax
call fcn.00487140
jmp 0x479ec2
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x6a0bcc], eax
mov ecx, eax
call fcn.0040c090
mov edx, eax
mov dword [ebp - 0x21c], 7
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [edx], ax
jne 0x479efa
xor ecx, ecx
jmp 0x479f0f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479f00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00407210
push 0xd
push str.GDSevicat.exe
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.0040f7f0
mov eax, dword [ebp - 0x348]
lea ecx, [ebp - 0x248]
push 0xffffffffffffffff
push 0
add eax, 0x4c
push eax
call fcn.0040f6e0
call fcn.0048bef0
test al, al
je 0x479f6b
pop edx
pop ebx
pop esi
push edi
pop edi
push ecx
pop edx
push ebp
pop eax
pop ebp
push edx
push eax
push eax
pop edx
push edi
pop esp
pop eax
push ebx
pop edi
pop edx
push edx
pop eax
push esi
call fcn.0048b940
test al, al
je 0x479f8e
pop esp
push ebx
push eax
pop edi
pop ecx
pop edx
push ebp
push eax
pop ecx
push edi
pop eax
pop ebx
push edi
pop ecx
push ebx
pop edi
push eax
pop ecx
push edi
pop esp
push ebx
pop edi
push edx
pop edi
push edx
pop esi
mov eax, dword [ebp - 0x348]
cmp dword [eax], 0
jne 0x479fd0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.00420df0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00420df0
add esp, 8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0041ff30
add esp, 4
test al, al
jne 0x47a017
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x6c
call fcn.00422aa0
add esp, 8
xor esi, esi
jmp 0x47ad64
call fcn.0048bd30
test al, al
je 0x47a036
push eax
pop edx
pop edi
pop edi
push ebp
pop ecx
push ecx
push edi
push esp
push edi
push esi
push ebp
pop esi
pop ecx
pop esp
push esi
pop esp
push ecx
push esp
push eax
pop ecx
pop ecx
call fcn.0048be80
test al, al
je 0x47a05b
pop ebx
push ecx
pop edx
push ebp
push edx
pop edi
pop edi
pop esp
push ebp
pop esi
pop edx
pop ebp
pop esi
pop edx
push edi
pop ebp
push ebp
push edi
push ebp
pop edx
push ebp
push esi
pop esi
pop esi
pop ebp
push edx
push ebp
pop esp
call fcn.0048bd30
test al, al
je 0x47a07b
pop esi
push ebp
pop edx
pop edx
push ebp
push edi
pop eax
push ebp
pop edx
pop ecx
pop esp
push esp
pop edi
push esp
pop edx
push ebp
push esi
push edi
push edi
pop ebx
pop ebp
pop ebx
push esp
xor eax, eax
mov dword [ebp - 0x2dc], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2f0], ax
lea ecx, [ebp - 0x2f0]
lea eax, [ebp - 0x230]
mov dword [ebp - 0x2e0], 0
push eax
call fcn.004070f0
xor eax, eax
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2d8], ax
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2c4], 7
push eax
mov dword [ebp - 0x2c8], 0
call fcn.004070f0
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 5
push eax
call fcn.00433170
lea eax, [ebp - 0x2d8]
push eax
call fcn.00433170
cmp dword [ebp - 0x2c4], 8
lea ecx, [ebp - 0x2d8]
push dword [ebp - 0x2c8]
cmovae ecx, dword [ebp - 0x2d8]
lea eax, [ebp - 0x2f0]
cmp dword [ebp - 0x2dc], 8
push ecx
cmovae eax, dword [ebp - 0x2f0]
push dword [ebp - 0x2e0]
push eax
call fcn.00407020
add esp, 0x18
test eax, eax
je 0x47a173
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0041e590
add esp, 8
call fcn.0048c0b0
test al, al
je 0x47a19b
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.0048c040
test al, al
je 0x47a1bf
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov ebx, dword [ebp - 0x348]
mov byte [ebp - 4], 6
cmp dword [ebx], eax
je 0x47a2aa
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4960
add esp, 0xc
lea ecx, [ebp - 0x32c]
call fcn.00407550
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 7
call fcn.004075c0
test eax, eax
lea eax, [ebp - 0x218]
push 0x104
push eax
je 0x47a235
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x47a23b
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [ebp - 0x218], 0
jne 0x47a249
xor ecx, ecx
jmp 0x47a261
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a252
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.00407210
push 0x10
push str._svchost.exe__k
lea ecx, [ebp - 0x260]
call fcn.0040f7f0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x7c]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040f6e0
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 6
call fcn.004075a0
jmp 0x47a2e4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x260]
call fcn.004070f0
push 1
push 0x6097f8
lea ecx, [ebp - 0x260]
call fcn.0040f7f0
push 6
push str.a5205a
lea ecx, [ebp - 0x260]
call fcn.0040f7f0
push 0x6097e8
push str.d083f2
lea eax, [ebp - 0x290]
push 0x609b1c
push eax
call fcn.0042d420
push 0x6097e8
push str.62ad83
lea eax, [ebp - 0x344]
mov byte [ebp - 4], 8
push 0x609b1c
push eax
call fcn.0042d420
add esp, 0x20
xor eax, eax
mov byte [ebp - 4], 9
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2c0], ax
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x260]
mov dword [ebp - 0x2ac], 7
push eax
mov dword [ebp - 0x2b0], 0
call fcn.004070f0
xor eax, eax
mov byte [ebp - 4], 0xa
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2a8], ax
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x344]
mov dword [ebp - 0x294], 7
push eax
mov dword [ebp - 0x298], 0
call fcn.004070f0
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0xb
push eax
call fcn.00433170
lea eax, [ebp - 0x2c0]
push eax
call fcn.00433170
add esp, 8
mov dword [ebp - 0x350], 0
call fcn.0048bb00
test al, al
je 0x47a3d0
push ebx
push edx
pop edi
pop esp
push esp
pop eax
push edx
pop edi
pop ebp
push esi
push edi
push edi
push edi
push ebp
pop esi
pop ebp
pop esi
call fcn.0048c2e0
test al, al
je 0x47a3fc
push edx
pop esi
push esp
pop ebx
pop eax
push edi
push ebp
push eax
pop ebx
pop esp
push edi
push esp
pop edx
pop edx
push edi
push edx
push esi
pop ecx
pop eax
pop ebx
pop eax
push esp
pop edi
push ecx
pop esp
pop ebp
pop esp
pop ebp
push esi
mov ebx, dword [ebp - 0x348]
call fcn.0048c3c0
test al, al
je 0x47a416
pop edi
pop esi
push edx
push esp
pop eax
push esp
pop edx
push ebp
push edx
push edx
push edx
push edi
pop ebp
push esp
pop eax
pop esi
pop esp
mov esi, dword [ebp - 0x294]
lea ecx, [ebp - 0x2a8]
push dword [ebp - 0x298]
mov edi, dword [ebp - 0x2a8]
lea eax, [ebp - 0x2c0]
cmp esi, 8
cmovae ecx, edi
cmp dword [ebp - 0x2ac], 8
push ecx
cmovae eax, dword [ebp - 0x2c0]
push dword [ebp - 0x2b0]
push eax
call fcn.00407020
add esp, 0x10
test eax, eax
jne 0x47a4b7
cmp esi, 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x290]
cmovae ecx, edi
cmp dword [ebp - 0x27c], 8
push ecx
cmovae eax, dword [ebp - 0x290]
mov ecx, ebx
push eax
call fcn.0047af70
test eax, eax
je 0x47a4b7
cmp dword [ebp - 0x27c], 8
lea eax, [ebp - 0x290]
mov ecx, ebx
cmovae eax, dword [ebp - 0x290]
push eax
call fcn.0047ade0
xor ecx, ecx
mov edx, 1
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x350], ecx
call fcn.0048bbe0
test al, al
je 0x47a4dd
push edi
pop ecx
push esi
push ebx
push edi
push ebp
push ebp
push esp
pop eax
pop edi
pop ecx
pop ebp
pop ecx
pop esp
push esi
pop eax
pop ebp
push ebp
push ebp
push eax
pop edi
push edx
push eax
push eax
pop ebp
push ebx
pop edx
push ebp
pop esi
cmp dword [ebp - 0x350], 0
je 0x47a640
push 0x611a80
lea ecx, [ebp - 0x308]
call fcn.00405c70
cmp dword [ebx], 0
mov byte [ebp - 4], 0xc
je 0x47a513
push str..dll
lea ecx, [ebp - 0x308]
call fcn.0040ada0
xor eax, eax
mov dword [ebp - 0x264], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x278], ax
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x344]
mov dword [ebp - 0x268], 0
push eax
call fcn.004070f0
push dword [ebp - 0x2f8]
cmp dword [ebp - 0x2f4], 8
lea eax, [ebp - 0x308]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x308]
lea ecx, [ebp - 0x278]
push eax
mov byte [ebp - 4], 0xd
call fcn.00422f40
cmp eax, 0xffffffff
je 0x47a5a3
inc eax
lea ecx, [ebp - 0x278]
push eax
push 0
lea eax, [ebp - 0x320]
push eax
call fcn.00407510
push eax
lea ecx, [ebp - 0x278]
call fcn.00405e00
lea ecx, [ebp - 0x320]
call fcn.00405cd0
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x278]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.0041e590
lea ecx, [ebx + 0xf4]
add esp, 8
lea eax, [ebp - 0x290]
cmp ecx, eax
je 0x47a5ef
push 0xffffffffffffffff
push 0
push eax
call fcn.004070f0
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x290]
cmovae ecx, dword [ebp - 0x278]
cmp dword [ebp - 0x27c], 8
push ecx
cmovae eax, dword [ebp - 0x290]
push eax
push 0x6d
call fcn.00422aa0
add esp, 0xc
lea ecx, [ebp - 0x278]
call fcn.00405cd0
lea ecx, [ebp - 0x308]
call fcn.00405cd0
xor esi, esi
jmp 0x47ad17
call fcn.0048c270
test al, al
je 0x47a663
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
call fcn.0048c0b0
test al, al
je 0x47a67d
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.0048bbe0
test al, al
je 0x47a698
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
mov eax, dword [ebp - 0x354]
cmp dword [eax + 0x14], 8
jb 0x47a6a6
mov eax, dword [eax]
mov ecx, dword [ebp - 0x348]
push eax
call fcn.0047b1b0
mov ecx, dword [ebp - 0x348]
call fcn.00479330
call fcn.0048bb70
test al, al
je 0x47a6e1
pop eax
push edx
push edi
push esp
push ebp
pop ebp
pop eax
push eax
pop esi
push esi
pop eax
pop esp
push esi
push esi
push eax
push esp
push eax
push eax
pop ecx
push edx
pop esi
push edx
pop esp
pop eax
push esi
push ebp
push edx
call fcn.0048c0b0
test al, al
je 0x47a702
pop esp
push ebx
pop esp
pop esp
pop esp
pop edi
pop eax
pop eax
push esi
push esi
pop eax
push esi
push ebx
push eax
push ebp
push ebp
push ebp
push edi
pop edi
pop ebp
pop esp
push ebx
push ebp
pop ebx
push dword [ebp - 0x34c]
push str.d083f2
push 0x609b1c
call fcn.0042e1e0
add esp, 0xc
call fcn.0048bcc0
test al, al
je 0x47a742
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
call fcn.0048c3c0
test al, al
je 0x47a75d
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
push str.62ad83
push 0x609b1c
call fcn.0042e1e0
add esp, 0xc
call fcn.0048bfd0
test al, al
je 0x47a7a3
pop ecx
pop esp
push eax
push esp
push ebx
push ecx
push esp
push ebx
pop esi
pop edi
pop ebp
pop edi
pop edi
pop ebx
push edi
pop edx
pop ebx
pop eax
pop esi
pop esi
push ecx
push ebx
call fcn.0048be10
test al, al
je 0x47a7c2
pop esi
push ebp
pop ecx
pop eax
pop esi
push edx
pop edi
push ecx
push edx
pop esp
push esp
pop esi
pop esp
push edi
push eax
pop ecx
push ebx
pop ebx
pop esi
push edi
pop ebx
pop esi
call fcn.0048bb70
test al, al
je 0x47a7e5
push ebp
push eax
push esp
pop edx
pop edx
pop eax
pop esi
pop edi
pop edi
push ebx
push edx
pop ebp
pop ecx
push esi
push eax
push esp
pop ecx
pop ebx
pop ebp
pop ebx
pop edx
pop esi
pop esi
pop esp
push esi
pop ebx
call fcn.0048bb00
test al, al
je 0x47a803
pop ebx
pop ebp
pop edi
pop eax
pop ebp
pop edx
pop ebp
push eax
push esp
push eax
push ebx
push esp
pop esp
pop edi
pop ebp
pop edx
push esp
push ebx
push eax
pop esi
pop esi
call fcn.0048bfd0
test al, al
je 0x47a82b
pop edx
pop ebp
pop edx
pop edx
pop esp
pop ebx
push esi
push ebx
push edx
pop esi
push eax
pop edx
pop esp
push edi
pop ebx
pop esi
pop esp
pop edx
pop ecx
push esp
pop ebp
push edx
push edx
push ecx
pop edi
push ebp
push edx
push ecx
pop eax
push esi
pop ebx
call fcn.0045c3b0
mov ebx, dword [ebp - 0x348]
mov esi, eax
test esi, esi
je 0x47a880
cmp dword [ebx + 0xf0], 8
lea ecx, [ebx + 0xdc]
jb 0x47a84d
mov ecx, dword [ecx]
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov edx, dword [esi]
cmovae eax, dword [ebp - 0x260]
push ecx
push eax
mov eax, dword [ebp - 0x360]
mov ecx, esi
push eax
push dword [ebp - 0x358]
push dword [ebp - 0x34c]
call dword [edx + 0x120]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx], 0
je 0x47a905
lea ecx, [ebp - 0x328]
call fcn.00453a50
cmp dword [ebx + 0xd8], 8
lea ecx, [ebx + 0xc4]
mov byte [ebp - 4], 0xe
jb 0x47a8b0
mov ecx, dword [ecx]
cmp dword [ebx + 0x30], 8
lea esi, [ebx + 0x1c]
jb 0x47a8bb
mov esi, dword [esi]
cmp dword [ebx + 0x18], 8
lea edx, [ebx + 4]
jb 0x47a8c6
mov edx, dword [edx]
add ebx, 0x7c
cmp dword [ebx + 0x14], 8
jb 0x47a8d1
mov ebx, dword [ebx]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push ecx
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x328]
push esi
push edx
push ebx
push eax
call fcn.00453dd0
lea ecx, [ebp - 0x328]
call fcn.00453b90
jmp 0x47ad12
call fcn.0048bcc0
test al, al
je 0x47a923
push ecx
pop ebp
pop esp
pop ebp
pop esi
pop ecx
pop eax
push edx
push edx
push ebp
pop ebp
push ebx
push edx
pop edi
pop edx
push eax
pop edx
pop edi
push esi
pop eax
push edx
call fcn.0048c3c0
test al, al
je 0x47a946
push esp
pop ebp
pop edx
push edx
push edx
pop ecx
push edi
pop esp
pop esi
pop esi
push esi
push ecx
push ecx
push esp
push ebx
pop ecx
push esp
pop esi
push esi
push ebp
pop esp
pop eax
push edx
push edi
push esp
pop esi
call fcn.0048bb00
test al, al
je 0x47a965
pop ebp
push edx
pop edx
pop eax
pop eax
push esp
pop esp
pop edx
push esp
push esp
push ecx
pop ebp
pop edx
push ecx
pop eax
push edx
pop ebx
push esi
pop ecx
pop ecx
push ecx
push edi
call fcn.0048c2e0
test al, al
je 0x47a983
pop ecx
pop edx
pop edi
push ecx
pop eax
push ecx
push esp
pop esi
push ebp
pop edi
push edx
pop ebp
push eax
pop edi
push ebp
pop edi
pop eax
push esp
pop edi
pop esi
push esp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x348], ebx
call fcn.0048bda0
test al, al
je 0x47a9bd
push edi
push ebx
pop ecx
push esi
pop ecx
push edi
push eax
pop edi
push esi
push ebx
pop esi
push ebp
pop edx
push ebp
push ecx
pop eax
push esp
pop esp
pop ebp
push eax
push esi
push eax
pop esi
pop edx
pop edx
push ebp
call fcn.0048c040
test al, al
je 0x47a9e1
pop ebp
push edx
push ebx
push ebp
pop edi
push edi
push esi
push esi
push edx
push eax
pop eax
pop ebp
push esp
pop ebx
pop edx
pop edi
push esp
push ebx
pop esp
push edi
push edi
mov ebx, dword [ebp - 0x348]
call fcn.0048bb70
test al, al
je 0x47a9fb
push ebp
pop ecx
push edi
push esp
pop ecx
pop ebp
push ebp
push esp
pop ebp
pop ebp
pop edx
push eax
pop eax
pop ebp
push esi
pop esp
pop ecx
test ebx, ebx
jne 0x47aa10
push 0x6e
call fcn.00422aa0
add esp, 4
xor esi, esi
jmp 0x47ad17
call fcn.0048c3c0
test al, al
je 0x47aa37
push esi
pop esi
pop eax
pop ecx
push ecx
pop esi
pop eax
push esi
push esp
push ebp
pop ebx
push eax
push edi
push esp
pop ebx
pop esp
pop edx
push edi
pop esp
push esi
push edx
push ebx
pop edi
push eax
pop ecx
push esp
pop ecx
push ecx
pop esi
push ebx
call fcn.0048ba20
test al, al
je 0x47aa59
pop esi
push eax
push esi
push edx
push ebx
pop edx
push edx
pop esi
pop esp
push ebx
pop edx
push edx
pop edi
pop edx
pop esp
push ebp
pop esi
push ebx
push ebx
push esp
pop edx
push edi
push ebp
push edi
push esp
call fcn.0048bb70
test al, al
je 0x47aa7b
pop eax
push ebp
pop ebp
push ebp
push edi
push eax
pop esp
push ecx
push edi
push esi
push edx
pop ebx
push ebp
pop ebp
pop edx
pop ebp
push esp
pop ebx
push ecx
push eax
pop ecx
pop ebp
push eax
pop esp
push esi
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov edx, dword [ebp - 0x364]
cmovae eax, dword [ebp - 0x260]
cmp dword [edx + 0x14], 8
jb 0x47aa9d
mov edx, dword [edx]
mov ecx, dword [ebp - 0x354]
cmp dword [ecx + 0x14], 8
jb 0x47aaab
mov ecx, dword [ecx]
push 0
push 0
mov ebx, dword [ebp - 0x348]
push 0x6097e8
push 0
push 0
push eax
push 1
push 2
push 0x110
push 0xf01ff
push edx
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x34c], eax
call fcn.0048c120
test al, al
je 0x47ab06
push esi
push esp
push ecx
pop ebp
push ecx
pop ecx
pop edi
push edx
pop edx
push ecx
pop esi
push ecx
push esp
push ecx
push esp
pop ebx
push esp
push ebp
pop ebx
push esi
pop esi
pop eax
push eax
push ebp
push ebp
push edx
push edx
mov ebx, dword [ebp - 0x348]
cmp dword [ebp - 0x34c], 0
jne 0x47ab6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.0047b380
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xf
jb 0x47ab31
mov eax, dword [eax]
push eax
push str.LastError
push 0xad
call fcn.00422aa0
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x320]
call fcn.00405cd0
push 0x6f
call fcn.00422aa0
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
jmp 0x47ad17
call fcn.0048b940
test al, al
je 0x47ab8c
push esi
push eax
push edi
push eax
push ebp
push esp
pop esi
pop esp
pop ebx
pop esp
pop ecx
push ebx
pop edx
pop ebp
push esp
push edx
push ecx
push edi
push eax
push edx
push eax
push eax
pop esp
push ecx
call fcn.0048bb70
test al, al
je 0x47aba9
pop edx
pop esp
pop esp
push eax
pop esi
pop ecx
push ebx
pop esp
push esp
push esp
pop ebx
push esp
push edi
push esp
pop edi
push edx
push edx
pop ecx
push esp
pop ebp
call fcn.0048bda0
test al, al
je 0x47abcd
pop esp
push eax
push esp
pop ecx
push esi
pop eax
pop eax
push ecx
pop ebx
pop edx
pop esp
pop ebp
push ecx
push esp
push ebx
push ecx
push eax
pop ebp
push edx
pop esi
pop edi
push edi
push ecx
pop edx
push ecx
pop eax
pop eax
mov eax, dword [ebp - 0x35c]
cmp dword [eax + 0x14], 8
jb 0x47abdb
mov eax, dword [eax]
mov ebx, dword [ebp - 0x34c]
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x358]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call ebx
push dword [ebp - 0x348]
call ebx
call fcn.0048bcc0
test al, al
je 0x47ac2c
push ebp
pop esi
pop edi
pop eax
push esp
pop edx
push ecx
pop ecx
pop ebx
push ecx
push eax
push esi
push esp
push ebp
push ebp
push edx
push edi
push edi
pop ecx
push esi
push esi
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.0048be10
test al, al
je 0x47ac45
pop eax
pop edi
pop ecx
push esp
push esp
push edi
push edi
pop esp
pop eax
pop esi
pop esi
pop ebp
pop esi
pop edi
push edi
pop esi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x35c], esi
test esi, esi
je 0x47aca0
mov ecx, dword [ebp - 0x354]
push 0xf003f
call fcn.004207c0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x47ac9c
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x47ac97
push 0x72
call fcn.00422aa0
add esp, 4
push esi
call ebx
jmp 0x47acaa
push 0x71
jmp 0x47aca2
push 0x70
call fcn.00422aa0
add esp, 4
call fcn.0048bb00
test al, al
je 0x47acca
push esi
push edx
push edx
push ecx
pop eax
push ebp
push esp
pop edx
pop edi
push eax
push edx
pop ecx
pop ecx
push edi
push ebx
pop edx
pop esi
push esi
push edi
pop edx
pop eax
push eax
push eax
call fcn.0048bb70
test al, al
je 0x47acea
pop esi
push ebp
pop ebx
push ecx
pop esp
pop ebx
push esi
push ecx
pop ebp
pop esi
pop edi
pop ebp
push esp
pop esi
pop edx
push ebp
push esp
push ecx
pop edx
pop esi
pop esp
pop eax
pop ebx
call fcn.0048c190
test al, al
je 0x47ad06
pop esi
push eax
pop edx
pop esp
push edi
push ebp
push eax
push esp
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebx
pop eax
pop eax
pop edi
pop ebx
push esi
push dword [ebp - 0x35c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, 1
lea ecx, [ebp - 0x2a8]
call fcn.00405cd0
lea ecx, [ebp - 0x2c0]
call fcn.00405cd0
lea ecx, [ebp - 0x344]
call fcn.00405cd0
lea ecx, [ebp - 0x290]
call fcn.00405cd0
lea ecx, [ebp - 0x260]
call fcn.00405cd0
lea ecx, [ebp - 0x2d8]
call fcn.00405cd0
lea ecx, [ebp - 0x2f0]
call fcn.00405cd0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x47ad82
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407310
mov ecx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp ecx, 8
jb 0x47adbd
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.00407310
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 - 0x10]
xor ecx, ebp
call fcn.005caa5c
mov esp, ebp
pop ebp
ret 0xc