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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x604d34
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x69cef4]
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 0x4792bb
xor ecx, ecx
jmp 0x4792cf
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4792c0
sub ecx, edx
sar ecx, 1
lea eax, [ebx + 4]
push ecx
push esi
mov ecx, eax
mov dword [ebp - 0x354], eax
call fcn.00407280
cmp word [edi], 0
jne 0x4792eb
xor ecx, ecx
jmp 0x4792ff
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4792f0
sub ecx, edx
sar ecx, 1
lea eax, [ebx + 0x1c]
push ecx
push edi
mov ecx, eax
mov dword [ebp - 0x364], eax
call fcn.00407280
mov esi, dword [ebp - 0x360]
cmp word [esi], 0
jne 0x479321
xor ecx, ecx
jmp 0x479335
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479326
sub ecx, edx
sar ecx, 1
lea eax, [ebx + 0x34]
push ecx
push esi
mov ecx, eax
mov dword [ebp - 0x35c], eax
call fcn.00407280
cmp dword [ebx + 0x5c], 0
jne 0x47935c
push 0xd
push str.GDSevicat.exe
lea ecx, [ebx + 0x4c]
call fcn.00407280
call fcn.0048b890
test al, al
je 0x47937a
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.0048bf90
test al, al
je 0x479396
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.0048bac0
test al, al
je 0x4793bd
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 [0x69fbcc]
test eax, eax
jne 0x4793fb
push 0x15c
call fcn.005ca564
add esp, 4
mov dword [ebp - 0x350], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4793ed
mov ecx, eax
call fcn.00486cc0
jmp 0x4793ef
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x69fbcc], eax
mov ecx, eax
call fcn.0040c490
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 0x47942a
xor ecx, ecx
jmp 0x47943f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479430
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.00407280
mov eax, dword [0x69fbcc]
mov dword [ebp - 4], 1
test eax, eax
jne 0x47948b
push 0x15c
call fcn.005ca564
add esp, 4
mov dword [ebp - 0x350], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x479480
mov ecx, eax
call fcn.00486cc0
jmp 0x479482
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x69fbcc], eax
mov ecx, eax
call fcn.0040c490
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 0x4794ba
xor ecx, ecx
jmp 0x4794cf
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4794c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00407280
push 0xd
push str.GDSevicat.exe
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.0040fbd0
mov eax, dword [ebp - 0x348]
lea ecx, [ebp - 0x248]
push 0xffffffffffffffff
push 0
add eax, 0x4c
push eax
call fcn.0040fac0
call fcn.0048ba50
test al, al
je 0x47952b
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.0048b4a0
test al, al
je 0x47954e
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 0x479590
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.00421110
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00421110
add esp, 8
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00420250
add esp, 4
test al, al
jne 0x4795d7
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x6c
call fcn.00422dc0
add esp, 8
xor esi, esi
jmp 0x47a324
call fcn.0048b890
test al, al
je 0x4795f6
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.0048b9e0
test al, al
je 0x47961b
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.0048b890
test al, al
je 0x47963b
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.00407160
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.00407160
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 5
push eax
call fcn.004331d0
lea eax, [ebp - 0x2d8]
push eax
call fcn.004331d0
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.00407090
add esp, 0x18
test eax, eax
je 0x479733
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.0041e8b0
add esp, 8
call fcn.0048bc10
test al, al
je 0x47975b
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.0048bba0
test al, al
je 0x47977f
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 0x47986a
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4520
add esp, 0xc
lea ecx, [ebp - 0x32c]
call fcn.004079b0
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 7
call fcn.00407a20
test eax, eax
lea eax, [ebp - 0x218]
push 0x104
push eax
je 0x4797f5
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x4797fb
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [ebp - 0x218], 0
jne 0x479809
xor ecx, ecx
jmp 0x479821
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479812
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.00407280
push 0x10
push str._svchost.exe__k
lea ecx, [ebp - 0x260]
call fcn.0040fbd0
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x7c]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040fac0
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 6
call fcn.00407a00
jmp 0x4798a4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x260]
call fcn.00407160
push 1
push 0x6087f8
lea ecx, [ebp - 0x260]
call fcn.0040fbd0
push 6
push str.a5205a
lea ecx, [ebp - 0x260]
call fcn.0040fbd0
push 0x6087e8
push str.d083f2
lea eax, [ebp - 0x290]
push 0x608b1c
push eax
call fcn.0042d6e0
push 0x6087e8
push str.62ad83
lea eax, [ebp - 0x344]
mov byte [ebp - 4], 8
push 0x608b1c
push eax
call fcn.0042d6e0
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.00407160
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.00407160
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0xb
push eax
call fcn.004331d0
lea eax, [ebp - 0x2c0]
push eax
call fcn.004331d0
add esp, 8
mov dword [ebp - 0x350], 0
call fcn.0048b660
test al, al
je 0x479990
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.0048be40
test al, al
je 0x4799bc
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.0048bf20
test al, al
je 0x4799d6
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.00407090
add esp, 0x10
test eax, eax
jne 0x479a77
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.0047a530
test eax, eax
je 0x479a77
cmp dword [ebp - 0x27c], 8
lea eax, [ebp - 0x290]
mov ecx, ebx
cmovae eax, dword [ebp - 0x290]
push eax
call fcn.0047a3a0
xor ecx, ecx
mov edx, 1
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x350], ecx
call fcn.0048b740
test al, al
je 0x479a9d
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 0x479c00
push 0x610a60
lea ecx, [ebp - 0x308]
call fcn.00405d50
cmp dword [ebx], 0
mov byte [ebp - 4], 0xc
je 0x479ad3
push str..dll
lea ecx, [ebp - 0x308]
call fcn.0040b1a0
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.00407160
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.00423260
cmp eax, 0xffffffff
je 0x479b63
inc eax
lea ecx, [ebp - 0x278]
push eax
push 0
lea eax, [ebp - 0x320]
push eax
call fcn.00407970
push eax
lea ecx, [ebp - 0x278]
call fcn.00405e70
lea ecx, [ebp - 0x320]
call fcn.00405db0
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.0041e8b0
lea ecx, [ebx + 0xf4]
add esp, 8
lea eax, [ebp - 0x290]
cmp ecx, eax
je 0x479baf
push 0xffffffffffffffff
push 0
push eax
call fcn.00407160
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.00422dc0
add esp, 0xc
lea ecx, [ebp - 0x278]
call fcn.00405db0
lea ecx, [ebp - 0x308]
call fcn.00405db0
xor esi, esi
jmp 0x47a2d7
call fcn.0048bdd0
test al, al
je 0x479c23
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.0048bc10
test al, al
je 0x479c3d
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.0048b740
test al, al
je 0x479c58
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 0x479c66
mov eax, dword [eax]
mov ecx, dword [ebp - 0x348]
push eax
call fcn.0047a770
mov ecx, dword [ebp - 0x348]
call fcn.004788f0
call fcn.0048b6d0
test al, al
je 0x479ca1
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.0048bc10
test al, al
je 0x479cc2
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 0x608b1c
call fcn.0042e4a0
add esp, 0xc
call fcn.0048b820
test al, al
je 0x479d02
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.0048bf20
test al, al
je 0x479d1d
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 0x608b1c
call fcn.0042e4a0
add esp, 0xc
call fcn.0048bb30
test al, al
je 0x479d63
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.0048b970
test al, al
je 0x479d82
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.0048b6d0
test al, al
je 0x479da5
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.0048b660
test al, al
je 0x479dc3
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.0048bb30
test al, al
je 0x479deb
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.0045c010
mov ebx, dword [ebp - 0x348]
mov esi, eax
test esi, esi
je 0x479e40
cmp dword [ebx + 0xf0], 8
lea ecx, [ebx + 0xdc]
jb 0x479e0d
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 0x479ec5
lea ecx, [ebp - 0x328]
call fcn.00453650
cmp dword [ebx + 0xd8], 8
lea ecx, [ebx + 0xc4]
mov byte [ebp - 4], 0xe
jb 0x479e70
mov ecx, dword [ecx]
cmp dword [ebx + 0x30], 8
lea esi, [ebx + 0x1c]
jb 0x479e7b
mov esi, dword [esi]
cmp dword [ebx + 0x18], 8
lea edx, [ebx + 4]
jb 0x479e86
mov edx, dword [edx]
add ebx, 0x7c
cmp dword [ebx + 0x14], 8
jb 0x479e91
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.004539d0
lea ecx, [ebp - 0x328]
call fcn.00453790
jmp 0x47a2d2
call fcn.0048b820
test al, al
je 0x479ee3
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.0048bf20
test al, al
je 0x479f06
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.0048b660
test al, al
je 0x479f25
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.0048be40
test al, al
je 0x479f43
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.0048b900
test al, al
je 0x479f7d
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.0048bba0
test al, al
je 0x479fa1
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.0048b6d0
test al, al
je 0x479fbb
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 0x479fd0
push 0x6e
call fcn.00422dc0
add esp, 4
xor esi, esi
jmp 0x47a2d7
call fcn.0048bf20
test al, al
je 0x479ff7
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.0048b580
test al, al
je 0x47a019
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.0048b6d0
test al, al
je 0x47a03b
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 0x47a05d
mov edx, dword [edx]
mov ecx, dword [ebp - 0x354]
cmp dword [ecx + 0x14], 8
jb 0x47a06b
mov ecx, dword [ecx]
push 0
push 0
mov ebx, dword [ebp - 0x348]
push 0x6087e8
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.0048bc80
test al, al
je 0x47a0c6
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 0x47a12b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.0047a940
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xf
jb 0x47a0f1
mov eax, dword [eax]
push eax
push str.LastError
push 0xad
call fcn.00422dc0
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x320]
call fcn.00405db0
push 0x6f
call fcn.00422dc0
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
jmp 0x47a2d7
call fcn.0048b4a0
test al, al
je 0x47a14c
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.0048b6d0
test al, al
je 0x47a169
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.0048b900
test al, al
je 0x47a18d
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 0x47a19b
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.0048b820
test al, al
je 0x47a1ec
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.0048b970
test al, al
je 0x47a205
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 0x47a260
mov ecx, dword [ebp - 0x354]
push 0xf003f
call fcn.00420a50
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x47a25c
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x47a257
push 0x72
call fcn.00422dc0
add esp, 4
push esi
call ebx
jmp 0x47a26a
push 0x71
jmp 0x47a262
push 0x70
call fcn.00422dc0
add esp, 4
call fcn.0048b660
test al, al
je 0x47a28a
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.0048b6d0
test al, al
je 0x47a2aa
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.0048bcf0
test al, al
je 0x47a2c6
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.00405db0
lea ecx, [ebp - 0x2c0]
call fcn.00405db0
lea ecx, [ebp - 0x344]
call fcn.00405db0
lea ecx, [ebp - 0x290]
call fcn.00405db0
lea ecx, [ebp - 0x260]
call fcn.00405db0
lea ecx, [ebp - 0x2d8]
call fcn.00405db0
lea ecx, [ebp - 0x2f0]
call fcn.00405db0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x47a342
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407380
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 0x47a37d
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.00407380
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.005ca59c
mov esp, ebp
pop ebp
ret 0xc