Function at 0x4177c0
Capabilities:
Get common file path
Get program files directory
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a941
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x49c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x410], esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x420], esi
xorps xmm0, xmm0
mov dword [ebp - 0x3fc], 0
movups xmmword [esi], xmm0
mov dword [ebp - 4], 1
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0042b3f0
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov eax, 1
xorps xmm0, xmm0
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3fc], eax
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 4], 2
push 8
movups xmmword [ebp - 0x234], xmm0
call fcn.0042b3f0
lea ecx, [ebp - 0x234]
mov dword [eax + 4], 0
mov dword [ebp - 0x234], eax
mov dword [eax], ecx
mov dword [ebp - 4], 4
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x27c], 0
movups xmmword [ebp - 0x278], xmm0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
call fcn.0042b3f0
lea ecx, [ebp - 0x27c]
mov dword [eax + 4], 0
mov dword [ebp - 0x27c], eax
mov dword [eax], ecx
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x244], xmm0
mov byte [ebp - 4], 6
push 8
movups xmmword [ebp - 0x244], xmm0
call fcn.0042b3f0
lea ecx, [ebp - 0x244]
add esp, 0x10
mov dword [eax + 4], 0
mov dword [ebp - 0x244], eax
mov dword [eax], ecx
lea eax, [ebp - 0x3d4]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x3d4], str..rundll32.exe._.RunDLL._
call fcn.00418f90
lea eax, [ebp - 0x3d4]
mov dword [ebp - 0x3d4], str..rundll32.exe._.ShowDialogA._
push eax
lea ecx, [ebp - 0x244]
call fcn.00418f90
lea eax, [ebp - 0x3d4]
mov dword [ebp - 0x3d4], str..rundll32.exe._._A_Za_z_4_15._
push eax
lea ecx, [ebp - 0x244]
call fcn.00418f90
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x49e9ac]
cmp eax, dword [ecx + 4]
jle 0x4179e0
push 0x49e9ac
call fcn.0042b520
add esp, 4
cmp dword [0x49e9ac], 0xffffffff
jne 0x4179e0
push 0x34
push 0
push 0x49e9b4
mov byte [ebp - 4], 8
call fcn.0042de70
add esp, 8
mov ecx, 0x49e9b4
push str._A_Za_z_7_16_
call fcn.00419130
push 0x47ba70
call fcn.0042bab0
push 0x49e9ac
mov byte [ebp - 4], 7
call fcn.0042b4d0
add esp, 8
mov eax, 0x2a
mov dword [ebp - 0x41c], 0x26001a
xorps xmm0, xmm0
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x219]
movups xmmword [ebp - 0x2a8], xmm0
push 8
movups xmmword [ebp - 0x2a8], xmm0
mov dword [ebp - 0x220], eax
call fcn.0042b3f0
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x224], eax
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2a8], eax
push 6
mov byte [ebp - 4], 9
call fcn.00409380
push 6
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x2a4], eax
push ecx
lea esi, [eax + 6]
mov dword [ebp - 0x2a0], eax
push eax
mov dword [ebp - 0x29c], esi
call fcn.0042d8f0
add esp, 0x14
mov dword [ebp - 0x2a0], esi
push 0
push 0x1c
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xa
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push eax
push 0
call edi
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x398]
call fcn.00426710
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 0xb
call fcn.00426ab0
push 0x28
mov byte [ebp - 4], 0xc
call fcn.0042b3f0
add esp, 4
mov dword [ebp - 0x220], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 0xd
movups xmmword [eax], xmm0
mov ecx, eax
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.00404ba0
mov dword [ebp - 0x40c], eax
mov byte [ebp - 4], 0xe
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x2d4], 0
movups xmmword [ebp - 0x2d0], xmm0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
call fcn.0042b3f0
lea ecx, [ebp - 0x2d4]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x2d4], eax
mov dword [eax], ecx
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0xf
mov byte [ebp - 0x2d0], 0
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x2a4]
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x3d4], eax
cmp esi, eax
je 0x417bfa
nop
movzx eax, word [esi]
push 0
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call edi
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x3f8]
call fcn.00426710
mov edi, eax
lea eax, [ebp - 0x2d4]
cmp eax, edi
je 0x417ba1
mov ecx, eax
call fcn.00406820
push edi
lea ecx, [ebp - 0x2d4]
call fcn.00406a60
lea ecx, [ebp - 0x3f8]
call fcn.00406820
mov eax, dword [ebp - 0x3f8]
push 8
push eax
mov dword [ebp - 0x3f8], 0
call fcn.0042b3d0
sub esp, 0x14
lea eax, [ebp - 0x2d4]
mov ecx, esp
push eax
call fcn.004058a0
mov ecx, dword [ebp - 0x40c]
xor edx, edx
call fcn.00416cd0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esi, 2
add esp, 0x1c
cmp esi, dword [ebp - 0x3d4]
jne 0x417b60
push 0x2d
xorps xmm0, xmm0
mov dword [ebp - 0x350], 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x350]
mov dword [ebp - 0x33c], 0
movups xmmword [ebp - 0x34c], xmm0
mov dword [ebp - 0x338], 0
call fcn.00408cd0
sub esp, 0x1c
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x350]
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ebp - 0x2b8], xmm0
push eax
call fcn.004058a0
lea ecx, [ebp - 0x2b8]
call fcn.00425eb0
lea eax, [ebp - 0x398]
mov byte [ebp - 4], 0x11
mov ecx, esp
lea esi, [ebp - 0x234]
push eax
call fcn.004058a0
mov edx, esi
xor ecx, ecx
call fcn.00417260
mov eax, dword [ebp - 0x230]
add esp, 0x1c
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x220], ecx
cmp eax, ecx
je 0x4183ed
push eax
lea ecx, [ebp - 0x260]
call fcn.004058a0
sub esp, 0x1c
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x260]
mov ecx, esp
push eax
call fcn.004058a0
mov ecx, dword [ebp - 0x40c]
call fcn.004170d0
add esp, 0x1c
test al, al
jne 0x418313
cmp dword [ebp - 0x248], 0x10
lea ecx, [ebp - 0x25c]
mov edi, dword [ebp - 0x25c]
mov esi, dword [ebp - 0x24c]
cmovae ecx, edi
push 1
push 0x493b28
push ecx
mov edx, esi
setae byte [ebp - 0x219]
call fcn.004168c0
add esp, 0xc
mov dword [ebp - 0x3f8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x3e4], 0
movups xmmword [ebp - 0x3f4], xmm0
lea edx, [eax + 1]
mov dword [ebp - 0x3e0], 0
cmp esi, edx
jb 0x418da5
sub esi, edx
lea eax, [ebp - 0x25c]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp byte [ebp - 0x219], 0
push ecx
cmovne eax, edi
lea ecx, [ebp - 0x3f8]
add eax, edx
push eax
call fcn.00408cd0
mov eax, dword [ebp - 0x3d8]
lea ecx, [ebp - 0x27c]
or eax, 0x20
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3fc], eax
call fcn.00406820
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00406a60
lea ecx, [ebp - 0x3f8]
call fcn.00406820
mov eax, dword [ebp - 0x3f8]
push 8
push eax
mov dword [ebp - 0x3f8], 0
call fcn.0042b3d0
mov eax, dword [ebp - 0x2b4]
add esp, 8
mov esi, dword [ebp - 0x2b0]
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x3d0], esi
cmp eax, esi
je 0x418313
mov ecx, esi
nop word [eax + eax]
mov edi, dword [eax]
mov esi, dword [ebp - 0x240]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x3dc], esi
mov dword [ebp - 0x408], eax
cmp esi, eax
je 0x4182fc
push 0x34
lea eax, [ebp - 0x3cc]
push 0
push eax
call fcn.0042de70
add esp, 8
lea ecx, [ebp - 0x3cc]
push dword [esi]
call fcn.00419130
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x278]
cmp dword [ebp - 0x264], 0x10
lea ecx, [edi + 4]
cmovae eax, dword [ebp - 0x278]
cmp dword [edi + 0x18], 0x10
jb 0x417e56
mov ecx, dword [edi + 4]
push dword [ebp - 0x268]
mov edx, dword [edi + 0x14]
push eax
call fcn.0040ac00
add esp, 8
test al, al
jne 0x417e97
cmp dword [edi + 0x18], 0x10
lea ecx, [edi + 4]
jb 0x417e78
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0x14]
push ecx
push 0x10
push 0x49e9b4
lea edx, [edx + ecx]
push ecx
call fcn.0041a290
add esp, 0x10
test al, al
je 0x417f54
cmp dword [edi + 0x34], 0x10
lea eax, [edi + 0x20]
mov dword [ebp - 0x400], eax
mov ecx, eax
jb 0x417eaa
mov ecx, dword [eax]
mov edx, dword [edi + 0x30]
lea eax, [ebp - 0x3cc]
push ecx
push 0x10
push eax
add edx, ecx
push ecx
call fcn.0041a290
add esp, 0x10
test al, al
je 0x417f54
cmp dword [ebp - 0x264], 0x10
lea eax, [edi + 0x1c]
lea esi, [ebp - 0x278]
cmovae esi, dword [ebp - 0x278]
lea ecx, [ebp - 0x3f8]
push eax
call fcn.004058a0
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x417ef2
sub edx, ecx
cmp dword [ebp - 0x3e0], 0x10
push edx
mov edx, dword [ebp - 0x3e4]
lea ecx, [ebp - 0x3f4]
cmovae ecx, dword [ebp - 0x3f4]
push esi
push 0
call fcn.00424910
add esp, 0xc
lea ecx, [ebp - 0x3f8]
mov esi, eax
call fcn.00406820
mov ecx, dword [ebp - 0x3f8]
push 8
push ecx
mov dword [ebp - 0x3f8], 0
call fcn.0042b3d0
add esp, 8
cmp esi, 0xffffffff
jne 0x417f7d
mov esi, dword [ebp - 0x3dc]
lea ecx, [ebp - 0x3cc]
mov byte [ebp - 4], 0x12
call fcn.00419050
add esi, 4
mov dword [ebp - 0x3dc], esi
cmp esi, dword [ebp - 0x408]
jne 0x417e12
jmp 0x4182f6
push 0x12c
call fcn.0042b3f0
push 0x12c
mov esi, eax
push 0
push esi
call fcn.0042de70
add esp, 0x10
mov ecx, esi
call fcn.00404760
mov esi, eax
mov eax, 4
mov dword [ebp - 0x3dc], esi
mov word [esi], ax
lea ecx, [esi + 0x20]
lea eax, [ebp - 0x260]
push eax
call fcn.00405720
lea eax, [ebp - 0x27c]
push eax
lea ecx, [esi + 4]
call fcn.00405720
mov byte [esi + 0x75], 0
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x33c]
sub eax, ecx
cmp eax, 5
jb 0x418da0
cmp dword [ebp - 0x338], 0x10
lea eax, [ebp - 0x34c]
push ecx
cmovae eax, dword [ebp - 0x34c]
push eax
push 5
push str.HKCU_
push ecx
push dword [ebp - 0x420]
lea ecx, [ebp - 0x3f8]
call fcn.0040f790
mov eax, dword [ebp - 0x3d8]
or eax, 4
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3fc], eax
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x3e0]
mov eax, esi
mov edx, dword [ebp - 0x3e4]
sub eax, edx
cmp eax, 1
jb 0x418073
cmp esi, 0x10
lea ecx, [ebp - 0x3f4]
lea eax, [edx + 1]
cmovae ecx, dword [ebp - 0x3f4]
lea esi, [ebp - 0x3f8]
mov dword [ebp - 0x3e4], eax
mov al, byte [0x493b28]
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x418096
push 1
push 0x493b28
mov byte [ebp - 0x414], 0
lea ecx, [ebp - 0x3f8]
push dword [ebp - 0x414]
push 1
call fcn.00409060
mov esi, eax
mov byte [ebp - 4], 0x15
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x298], 0
movups xmmword [ebp - 0x294], xmm0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
call fcn.0042b3f0
add esp, 4
lea ecx, [ebp - 0x298]
mov dword [eax + 4], 0
mov dword [ebp - 0x298], eax
push esi
mov dword [eax], ecx
call fcn.00406a60
mov eax, dword [ebp - 0x3d8]
or eax, 8
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3fc], eax
push edi
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0x16
call fcn.004056b0
mov esi, eax
mov byte [ebp - 4], 0x17
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x43c], 0
movups xmmword [ebp - 0x438], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
call fcn.0042b3f0
add esp, 4
lea ecx, [ebp - 0x43c]
mov dword [eax + 4], 0
mov dword [ebp - 0x43c], eax
push esi
mov dword [eax], ecx
call fcn.00406a60
mov eax, dword [ebp - 0x3d8]
lea ecx, [ebp - 0x43c]
mov esi, dword [ebp - 0x3dc]
or eax, 0x10
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3fc], eax
lea eax, [esi + 0x3c]
cmp eax, ecx
je 0x41819d
mov ecx, eax
call fcn.00406820
lea eax, [ebp - 0x43c]
push eax
lea ecx, [esi + 0x3c]
call fcn.00406a60
lea ecx, [ebp - 0x43c]
call fcn.00406820
mov eax, dword [ebp - 0x43c]
push 8
push eax
mov dword [ebp - 0x43c], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x298]
call fcn.00406820
mov eax, dword [ebp - 0x298]
push 8
push eax
mov dword [ebp - 0x298], 0
call fcn.0042b3d0
add esp, 8
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x3f8]
call fcn.00406820
mov eax, dword [ebp - 0x3f8]
push 8
push eax
mov dword [ebp - 0x3f8], 0
call fcn.0042b3d0
lea ecx, [esi + 0x58]
add esp, 8
lea eax, [edi + 0x1c]
cmp ecx, eax
je 0x418234
cmp dword [edi + 0x34], 0x10
mov eax, dword [ebp - 0x400]
jb 0x41822b
mov eax, dword [eax]
push dword [edi + 0x30]
push eax
call fcn.004068f0
push 0x54
call fcn.0042b3f0
push 0x54
mov esi, eax
push 0
push esi
call fcn.0042de70
add esp, 0x10
mov ecx, esi
call fcn.00403960
sub esp, 0x1c
lea eax, [edi + 0x1c]
mov ecx, esp
push eax
call fcn.004058a0
call fcn.004279d0
mov edi, dword [ebp - 0x3dc]
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4182db
lea eax, [edi + 0xd8]
cmp eax, esi
je 0x418299
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
jb 0x418288
mov ecx, dword [ecx]
push dword [esi + 0x14]
push ecx
mov ecx, eax
call fcn.004068f0
lea eax, [edi + 0xd8]
lea edx, [esi + 0x1c]
lea ecx, [eax + 0x1c]
cmp ecx, edx
je 0x4182bd
cmp dword [edx + 0x18], 0x10
lea eax, [edx + 4]
jb 0x4182ae
mov eax, dword [eax]
push dword [edx + 0x14]
push eax
call fcn.004068f0
lea eax, [edi + 0xd8]
add esi, 0x38
lea ecx, [eax + 0x38]
cmp ecx, esi
je 0x4182db
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
jb 0x4182d2
mov eax, dword [eax]
push dword [esi + 0x14]
push eax
call fcn.004068f0
mov ecx, dword [ebp - 0x410]
push edi
call fcn.004050f0
lea ecx, [ebp - 0x3cc]
mov byte [ebp - 4], 0x12
call fcn.00419050
mov ecx, dword [ebp - 0x3d0]
mov eax, dword [ebp - 0x404]
add eax, 4
mov dword [ebp - 0x404], eax
cmp eax, ecx
jne 0x417df0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x11
call fcn.00406820
mov eax, dword [ebp - 0x260]
push 8
push eax
mov dword [ebp - 0x260], 0
call fcn.0042b3d0
mov eax, dword [ebp - 0x3d4]
add esp, 8
add eax, 0x1c
mov dword [ebp - 0x3d4], eax
cmp eax, dword [ebp - 0x220]
jne 0x417ca2
mov ecx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x230]
cmp eax, ecx
je 0x4183ed
push 3
lea ecx, [ebp - 0x220]
call fcn.004283d0
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x41839e
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
test eax, eax
je 0x41839e
mov dword [eax], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x418391
lea ecx, [ebp - 0x220]
call fcn.00428480
mov edi, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x230]
cmp esi, edi
je 0x4183e7
nop dword [eax]
mov ecx, esi
call fcn.00406820
mov eax, dword [esi]
push 8
push eax
mov dword [esi], 0
call fcn.0042b3d0
add esi, 0x1c
add esp, 8
cmp esi, edi
jne 0x4183c0
mov esi, dword [ebp - 0x230]
mov dword [ebp - 0x22c], esi
xorps xmm0, xmm0
lea ecx, [ebp - 0x360]
movups xmmword [ebp - 0x360], xmm0
call fcn.00426180
sub esp, 0x1c
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x37c]
mov ecx, esp
lea esi, [ebp - 0x234]
push eax
call fcn.004058a0
mov edx, esi
xor ecx, ecx
call fcn.00417260
mov esi, dword [ebp - 0x230]
add esp, 0x1c
mov edi, dword [ebp - 0x22c]
mov dword [ebp - 0x400], esi
mov dword [ebp - 0x408], edi
cmp esi, edi
je 0x418b14
nop dword [eax]
push esi
lea ecx, [ebp - 0x298]
call fcn.004058a0
sub esp, 0x1c
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x298]
mov ecx, esp
push eax
call fcn.004058a0
mov ecx, dword [ebp - 0x40c]
call fcn.004170d0
add esp, 0x1c
test al, al
jne 0x418ad9
mov ecx, dword [ebp - 0x358]
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x414], ecx
cmp eax, ecx
je 0x418ad9
lea esi, [eax + 0x38]
mov dword [ebp - 0x404], esi
nop word [eax + eax]
lea eax, [esi - 0x38]
push eax
lea ecx, [ebp - 0x334]
call fcn.004058a0
lea eax, [esi - 0x1c]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x318]
call fcn.004058a0
push esi
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x1b
call fcn.004058a0
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x2e0], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x2dc], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x2d8], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x294]
cmp dword [ebp - 0x280], 0x10
mov edi, dword [ebp - 0x294]
mov esi, dword [ebp - 0x284]
cmovae ecx, edi
push 1
push 0x493b28
push ecx
mov edx, esi
setae byte [ebp - 0x219]
call fcn.004168c0
add esp, 0xc
mov dword [ebp - 0x3f8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x3e4], 0
movups xmmword [ebp - 0x3f4], xmm0
lea edx, [eax + 1]
mov dword [ebp - 0x3e0], 0
cmp esi, edx
jb 0x418da5
sub esi, edx
lea eax, [ebp - 0x294]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp byte [ebp - 0x219], 0
push ecx
cmovne eax, edi
lea ecx, [ebp - 0x3f8]
add eax, edx
push eax
call fcn.00408cd0
mov eax, dword [ebp - 0x3d8]
lea ecx, [ebp - 0x27c]
or eax, 2
mov dword [ebp - 0x3d8], eax
mov dword [ebp - 0x3fc], eax
call fcn.00406820
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00406a60
lea ecx, [ebp - 0x3f8]
call fcn.00406820
mov eax, dword [ebp - 0x3f8]
push 8
push eax
mov dword [ebp - 0x3f8], 0
call fcn.0042b3d0
cmp dword [ebp - 0x31c], 0x10
lea eax, [ebp - 0x330]
push dword [ebp - 0x320]
cmovae eax, dword [ebp - 0x330]
lea ecx, [ebp - 0x278]
cmp dword [ebp - 0x264], 0x10
mov edx, dword [ebp - 0x268]
cmovae ecx, dword [ebp - 0x278]
push eax
call fcn.0040ac00
add esp, 0x10
test al, al
je 0x418a39
lea eax, [ebp - 0x334]
push eax
lea ecx, [ebp - 0x260]
call fcn.004058a0
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ecx, eax
mov dword [ebp - 0x220], ecx
test ecx, ecx
je 0x4186d4
cmp dword [ebp - 0x248], 0x10
lea eax, [ebp - 0x25c]
push 1
cmovae eax, dword [ebp - 0x25c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x4186d4
lea eax, [ebp - 0x3d0]
push eax
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4186cd
push dword [ebp - 0x3d0]
push 1
call fcn.00443d20
add esp, 8
mov esi, eax
lea eax, [ebp - 0x3d0]
push eax
push dword [ebp - 0x3d0]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x418d7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x260]
call fcn.00406820
xor esi, esi
mov eax, dword [ebp - 0x260]
push 8
push eax
mov dword [ebp - 0x260], 0
call fcn.0042b3d0
add esp, 8
test esi, esi
je 0x41875c
mov edx, dword [esi + 0xc]
lea ecx, [ebp - 0x3f8]
call fcn.00426710
mov edi, eax
lea eax, [ebp - 0x2fc]
cmp eax, edi
je 0x41872d
mov ecx, eax
call fcn.00406820
push edi
lea ecx, [ebp - 0x2fc]
call fcn.00406a60
lea ecx, [ebp - 0x3f8]
call fcn.00406820
mov eax, dword [ebp - 0x3f8]
push 8
push eax
mov dword [ebp - 0x3f8], 0
call fcn.0042b3d0
mov eax, dword [esi + 4]
add esp, 8
mov dword [ebp - 0x2e0], eax
mov edi, dword [ebp - 0x240]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x3dc], edi
mov dword [ebp - 0x220], eax
cmp edi, eax
je 0x418a39
nop dword [eax]
push 0x34
lea eax, [ebp - 0x3cc]
push 0
push eax
call fcn.0042de70
add esp, 8
lea ecx, [ebp - 0x3cc]
push dword [edi]
call fcn.00419130
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2f8]
cmp dword [ebp - 0x2e4], 0x10
lea eax, [ebp - 0x3cc]
mov edx, dword [ebp - 0x2e8]
cmovae ecx, dword [ebp - 0x2f8]
push ecx
push 0x10
push eax
lea edx, [edx + ecx]
push ecx
call fcn.0041a290
add esp, 0x10
test al, al
je 0x418a15
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x2fc]
lea esi, [ebp - 0x278]
cmovae esi, dword [ebp - 0x278]
lea ecx, [ebp - 0x3f8]
push eax
call fcn.004058a0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418807
sub eax, edx
lea ecx, [ebp - 0x3f4]
cmp dword [ebp - 0x3e0], 0x10
mov edx, dword [ebp - 0x3e4]
cmovae ecx, dword [ebp - 0x3f4]
push eax
push esi
push 0
call fcn.00424910
add esp, 0xc
lea ecx, [ebp - 0x3f8]
mov esi, eax
call fcn.00406820
mov ecx, dword [ebp - 0x3f8]
push 8
push ecx
mov dword [ebp - 0x3f8], 0
call fcn.0042b3d0
add esp, 8
cmp esi, 0xffffffff
je 0x418a15
push 0x12c
call fcn.0042b3f0
push 0x12c
mov esi, eax
push 0
push esi
call fcn.0042de70
add esp, 0x10
mov ecx, esi
call fcn.00404760
mov esi, eax
mov eax, 4
mov dword [ebp - 0x3d4], esi
mov word [esi], ax
lea ecx, [esi + 0x20]
lea eax, [ebp - 0x298]
push eax
call fcn.00405720
lea eax, [ebp - 0x27c]
push eax
lea ecx, [esi + 4]
call fcn.00405720
mov byte [esi + 0x75], 1
lea eax, [ebp - 0x334]
add esi, 0x78
cmp esi, eax
je 0x4188eb
cmp dword [ebp - 0x31c], 0x10
lea eax, [ebp - 0x330]
push dword [ebp - 0x320]
cmovae eax, dword [ebp - 0x330]
mov ecx, esi
push eax
call fcn.004068f0
lea ecx, [esi + 0x1c]
lea eax, [ebp - 0x318]
cmp ecx, eax
je 0x418918
cmp dword [ebp - 0x300], 0x10
lea eax, [ebp - 0x314]
push dword [ebp - 0x304]
cmovae eax, dword [ebp - 0x314]
push eax
call fcn.004068f0
lea ecx, [esi + 0x38]
lea eax, [ebp - 0x2fc]
cmp ecx, eax
je 0x418945
cmp dword [ebp - 0x2e4], 0x10
lea eax, [ebp - 0x2f8]
push dword [ebp - 0x2e8]
cmovae eax, dword [ebp - 0x2f8]
push eax
call fcn.004068f0
mov eax, dword [ebp - 0x2e0]
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x2dc]
mov dword [esi + 0x58], eax
mov eax, dword [ebp - 0x2d8]
push 0x54
mov dword [esi + 0x5c], eax
call fcn.0042b3f0
push 0x54
mov esi, eax
push 0
push esi
call fcn.0042de70
add esp, 0x10
mov ecx, esi
call fcn.00403960
sub esp, 0x1c
lea eax, [ebp - 0x2fc]
mov ecx, esp
push eax
call fcn.004058a0
call fcn.004279d0
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x418a04
mov edi, dword [ebp - 0x3d4]
add edi, 0xd8
cmp edi, esi
je 0x4189c2
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
jb 0x4189b7
mov eax, dword [eax]
push dword [esi + 0x14]
mov ecx, edi
push eax
call fcn.004068f0
lea eax, [esi + 0x1c]
lea ecx, [edi + 0x1c]
cmp ecx, eax
je 0x4189e0
cmp dword [eax + 0x18], 0x10
lea edx, [eax + 4]
jb 0x4189d7
mov edx, dword [edx]
push dword [eax + 0x14]
push edx
call fcn.004068f0
add esi, 0x38
lea ecx, [edi + 0x38]
cmp ecx, esi
je 0x4189fe
cmp dword [esi + 0x18], 0x10
lea eax, [esi + 4]
jb 0x4189f5
mov eax, dword [eax]
push dword [esi + 0x14]
push eax
call fcn.004068f0
mov edi, dword [ebp - 0x3dc]
push dword [ebp - 0x3d4]
mov ecx, dword [ebp - 0x410]
call fcn.004050f0
lea ecx, [ebp - 0x3cc]
mov byte [ebp - 4], 0x1c
call fcn.00419050
add edi, 4
mov dword [ebp - 0x3dc], edi
cmp edi, dword [ebp - 0x220]
jne 0x418780
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x19
call fcn.00406820
mov eax, dword [ebp - 0x2fc]
push 8
push eax
mov dword [ebp - 0x2fc], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x318]
call fcn.00406820
mov eax, dword [ebp - 0x318]
push 8
push eax
mov dword [ebp - 0x318], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x334]
call fcn.00406820
mov eax, dword [ebp - 0x334]
push 8
push eax
mov dword [ebp - 0x334], 0
call fcn.0042b3d0
mov esi, dword [ebp - 0x404]
add esp, 8
add esi, 0x60
mov dword [ebp - 0x404], esi
lea eax, [esi - 0x38]
cmp eax, dword [ebp - 0x414]
jne 0x4184b0
mov esi, dword [ebp - 0x400]
mov edi, dword [ebp - 0x408]
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0x18
call fcn.00406820
mov eax, dword [ebp - 0x298]
push 8
push eax
mov dword [ebp - 0x298], 0
call fcn.0042b3d0
add esi, 0x1c
add esp, 8
mov dword [ebp - 0x400], esi
cmp esi, edi
jne 0x418450
lea ecx, [ebp - 0x360]
call fcn.00418db0
push 3
lea ecx, [ebp - 0x220]
call fcn.004283d0
mov ecx, dword [ebp - 0x2b8]
test ecx, ecx
je 0x418b51
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
test eax, eax
je 0x418b51
mov dword [eax], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x418b44
lea ecx, [ebp - 0x220]
call fcn.00428480
mov ecx, dword [ebp - 0x2b4]
test ecx, ecx
je 0x418b99
mov eax, dword [ebp - 0x2ac]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.004092b0
add esp, 8
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x2b8]
push 8
push eax
mov dword [ebp - 0x2b8], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x350]
call fcn.00406820
mov eax, dword [ebp - 0x350]
push 8
push eax
mov dword [ebp - 0x350], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.00406820
mov eax, dword [ebp - 0x2d4]
push 8
push eax
mov dword [ebp - 0x2d4], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x37c]
call fcn.00406820
mov eax, dword [ebp - 0x37c]
push 8
push eax
mov dword [ebp - 0x37c], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x398]
call fcn.00406820
mov eax, dword [ebp - 0x398]
push 8
push eax
mov dword [ebp - 0x398], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x2a8]
call fcn.00419350
mov eax, dword [ebp - 0x2a8]
push 8
push eax
mov dword [ebp - 0x2a8], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x220]
push 3
call fcn.004283d0
mov ecx, dword [ebp - 0x244]
test ecx, ecx
je 0x418cad
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
test eax, eax
je 0x418cad
nop word [eax + eax]
mov dword [eax], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x418ca0
lea ecx, [ebp - 0x220]
call fcn.00428480
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x418cf5
mov eax, dword [ebp - 0x238]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.004092b0
add esp, 8
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x244]
push 8
push eax
mov dword [ebp - 0x244], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x27c]
call fcn.00406820
mov eax, dword [ebp - 0x27c]
push 8
push eax
mov dword [ebp - 0x27c], 0
call fcn.0042b3d0
add esp, 8
lea ecx, [ebp - 0x234]
call fcn.004193e0
mov ecx, dword [ebp - 0x234]
push 8
push ecx
mov dword [ebp - 0x234], 0
call fcn.0042b3d0
mov eax, dword [ebp - 0x410]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b3c0
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x260]
call fcn.00406820
jmp 0x4186e1
call fcn.00401930
call fcn.00407c30
int3