Function at 0x41b0a0
Capabilities:
Link many functions at runtime
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e35c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
push edi
push 1
xor ebx, ebx
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x10], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422324
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422324
call fcn.00403ef0
mov ecx, 0x422314
lea esi, [ebp - 0xe0]
call fcn.00405420
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 0x10
jb 0x41b10f
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x10], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422344
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422344
call fcn.00403ef0
mov ecx, 0x422334
lea esi, [ebp - 0xa8]
call fcn.00405420
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x41b15b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov edi, 0x10
mov esi, eax
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x94], edi
jb 0x41b18c
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004064ef
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], ebx
mov byte [ebp - 0xa8], bl
cmp dword [ebp - 0xcc], edi
jb 0x41b1c0
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.004064ef
add esp, 4
mov dword [ebp - 0xcc], 0xf
mov dword [ebp - 0xd0], ebx
mov byte [ebp - 0xe0], bl
cmp esi, ebx
jne 0x41b293
sub esp, 0x1c
mov dword [ebp - 0x10], esp
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422364
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422364
call fcn.00403ef0
mov ecx, 0x422354
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x41b227
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov dword [ebp - 0x18], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x422390
mov edi, 0x422374
mov word [esi], dx
call fcn.0040670b
add esp, 4
push eax
mov eax, 0x422390
call fcn.004041e0
mov ecx, edi
lea esi, [ebp - 0x34]
call fcn.004033f0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x41b272
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x10], eax
push 0x423744
lea eax, [ebp - 0x10]
push eax
call fcn.004093ff
mov ecx, dword [0x426bd4]
mov edx, dword [ebp - 0x10]
push 0x10024
push ecx
push edx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x18], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4223bc
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x4223bc
call fcn.00403ef0
mov ecx, 0x4223ac
lea esi, [ebp - 0x8c]
call fcn.00405420
mov dword [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x41b2ef
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x18], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4223dc
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x4223dc
call fcn.00403ef0
mov ecx, 0x4223cc
lea esi, [ebp - 0xc4]
call fcn.00405420
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x41b33b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov edi, 0x10
mov esi, eax
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0xb0], edi
jb 0x41b36c
mov eax, dword [ebp - 0xc4]
push eax
call fcn.004064ef
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], ebx
mov byte [ebp - 0xc4], bl
cmp dword [ebp - 0x78], edi
jb 0x41b39d
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.004064ef
add esp, 4
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], bl
cmp esi, ebx
jne 0x41b54e
mov edx, dword [ebp - 0x10]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x10], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422400
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422400
call fcn.00403ef0
mov ecx, 0x4223ec
lea esi, [ebp - 0x34]
call fcn.00405420
mov dword [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
jb 0x41b402
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x10], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422424
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422424
call fcn.00403ef0
mov ecx, 0x422414
lea esi, [ebp - 0x8c]
call fcn.00405420
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x41b44c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov esi, 0x10
cmp dword [ebp - 0x78], esi
jb 0x41b475
mov eax, dword [ebp - 0x8c]
push eax
call fcn.004064ef
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], bl
cmp dword [ebp - 0x20], esi
jb 0x41b49d
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004064ef
add esp, 4
sub esp, 0x1c
mov dword [ebp - 0x10], esp
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422444
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422444
call fcn.00403ef0
mov ecx, 0x422434
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x41b4e6
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x18], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422464
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422464
call fcn.00403ef0
mov ecx, 0x422454
lea esi, [ebp - 0x34]
call fcn.00405420
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0x10
jb 0x41b52d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push 0x423744
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], eax
call fcn.004093ff
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x70]
push eax
push 1
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422484
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422484
call fcn.00403ef0
mov ecx, 0x422474
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x41b5b6
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4224a4
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x4224a4
call fcn.00403ef0
mov ecx, 0x422494
lea esi, [ebp - 0x34]
call fcn.00405420
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x41b5fd
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov edi, 0x10
mov esi, eax
cmp dword [ebp - 0x20], edi
jb 0x41b625
mov edx, dword [ebp - 0x34]
push edx
call fcn.004064ef
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
cmp dword [ebp - 0x40], edi
jb 0x41b64a
mov eax, dword [ebp - 0x54]
push eax
call fcn.004064ef
add esp, 4
cmp esi, ebx
je 0x41bbbd
mov edx, dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea ecx, [ebp - 0x70]
push ecx
push edx
call esi
mov edi, eax
mov eax, dword [ebp - 0x6c]
cmp eax, 3
jne 0x41b692
lea esp, [esp]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, ebx
je 0x41b91c
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x70]
push eax
push ecx
call esi
mov eax, dword [ebp - 0x6c]
cmp eax, 3
je 0x41b670
cmp eax, 1
je 0x41bbbd
mov edx, dword [ebp - 0x10]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4225e0
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x4225e0
call fcn.00403ef0
mov ecx, 0x4225cc
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 0x12
cmp dword [eax + 0x14], 0x10
jb 0x41b6e8
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x422610
mov edi, 0x4225f4
mov word [esi], ax
call fcn.0040670b
add esp, 4
push eax
mov eax, 0x422610
call fcn.004041e0
mov ecx, edi
lea esi, [ebp - 0x34]
call fcn.004033f0
mov esi, 8
mov byte [ebp - 4], 0x13
cmp dword [eax + 0x14], esi
jb 0x41b739
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
cmp dword [ebp - 0x20], esi
jb 0x41b75a
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004064ef
add esp, 4
xor edx, edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], dx
jb 0x41b783
mov eax, dword [ebp - 0x54]
push eax
call fcn.004064ef
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422640
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422640
call fcn.00403ef0
mov ecx, 0x42262c
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 0x14
cmp dword [eax + 0x14], 0x10
jb 0x41b7d0
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x422670
mov edi, 0x422654
mov word [esi], dx
call fcn.0040670b
add esp, 4
push eax
mov eax, 0x422670
call fcn.004041e0
mov ecx, edi
lea esi, [ebp - 0x34]
call fcn.004033f0
mov esi, 8
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x14], esi
jb 0x41b81f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
cmp dword [ebp - 0x20], esi
jb 0x41b840
mov eax, dword [ebp - 0x34]
push eax
call fcn.004064ef
add esp, 4
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], cx
jb 0x41b869
mov edx, dword [ebp - 0x54]
push edx
call fcn.004064ef
add esp, 4
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x42269c
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x42269c
call fcn.00403ef0
mov ecx, 0x42268c
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 0x16
cmp dword [eax + 0x14], 0x10
jb 0x41b8b2
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4226bc
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x4226bc
call fcn.00403ef0
mov ecx, 0x4226ac
lea esi, [ebp - 0x34]
call fcn.00405420
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x14], 0x10
jb 0x41b8fb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x10], eax
push 0x423744
lea eax, [ebp - 0x10]
push eax
call fcn.004093ff
mov edx, dword [ebp - 0x10]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4224c8
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x4224c8
call fcn.00403ef0
mov ecx, 0x4224b4
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x41b969
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x4224f8
mov edi, 0x4224dc
mov word [esi], ax
call fcn.0040670b
add esp, 4
push eax
mov eax, 0x4224f8
call fcn.004041e0
mov ecx, edi
lea esi, [ebp - 0x34]
call fcn.004033f0
mov esi, 8
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], esi
jb 0x41b9ba
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
cmp dword [ebp - 0x20], esi
jb 0x41b9db
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004064ef
add esp, 4
xor edx, edx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], dx
jb 0x41ba04
mov eax, dword [ebp - 0x54]
push eax
call fcn.004064ef
add esp, 4
mov ecx, dword [ebp - 0x18]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422528
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422528
call fcn.00403ef0
mov ecx, 0x422514
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x41ba51
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x422558
mov edi, 0x42253c
mov word [esi], dx
call fcn.0040670b
add esp, 4
push eax
mov eax, 0x422558
call fcn.004041e0
mov ecx, edi
lea esi, [ebp - 0x34]
call fcn.004033f0
mov esi, 8
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], esi
jb 0x41baa0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
cmp dword [ebp - 0x20], esi
jb 0x41bac1
mov eax, dword [ebp - 0x34]
push eax
call fcn.004064ef
add esp, 4
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], cx
jb 0x41baea
mov edx, dword [ebp - 0x54]
push edx
call fcn.004064ef
add esp, 4
xor esi, esi
lea esp, [esp]
push 0x421dfc
call fcn.00406370
dec eax
add esp, 4
cmp esi, eax
je 0x41bb08
inc esi
cmp esi, 1
jl 0x41baf0
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422584
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422584
call fcn.00403ef0
mov ecx, 0x422574
lea esi, [ebp - 0x54]
call fcn.00405420
mov ecx, 0x10
mov dword [ebp - 4], ecx
cmp dword [eax + 0x14], ecx
jb 0x41bb51
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x4225b0
mov edi, 0x422594
mov word [esi], ax
call fcn.0040670b
add esp, 4
push eax
mov eax, 0x4225b0
call fcn.004041e0
mov ecx, edi
lea esi, [ebp - 0x34]
call fcn.004033f0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
jb 0x41bb9c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push 0x423744
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], eax
call fcn.004093ff
mov ecx, dword [ebp - 0x18]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4226dc
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x4226dc
call fcn.00403ef0
mov ecx, 0x4226cc
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 0x18
cmp dword [eax + 0x14], 0x10
jb 0x41bc0a
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
xor edx, edx
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push str.VCq_CF_a
mov edi, 0x4226ec
mov word [esi], dx
call fcn.0040670b
add esp, 4
push eax
mov eax, str.VCq_CF_a
call fcn.004041e0
mov ecx, edi
lea esi, [ebp - 0x34]
call fcn.004033f0
mov esi, 8
mov byte [ebp - 4], 0x19
cmp dword [eax + 0x14], esi
jb 0x41bc59
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
cmp eax, ebx
sete byte [ebp - 0x35]
cmp dword [ebp - 0x20], esi
jb 0x41bc80
mov eax, dword [ebp - 0x34]
push eax
call fcn.004064ef
add esp, 4
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], cx
jb 0x41bca9
mov edx, dword [ebp - 0x54]
push edx
call fcn.004064ef
add esp, 4
cmp byte [ebp - 0x35], bl
je 0x41be50
mov eax, dword [ebp - 0x10]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x422738
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x422738
call fcn.00403ef0
mov ecx, 0x422724
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 0x1a
cmp dword [eax + 0x14], 0x10
jb 0x41bcff
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x42275c
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x42275c
call fcn.00403ef0
mov ecx, 0x42274c
lea esi, [ebp - 0x34]
call fcn.00405420
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x14], 0x10
jb 0x41bd48
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov esi, 0x10
cmp dword [ebp - 0x20], esi
jb 0x41bd6e
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004064ef
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
cmp dword [ebp - 0x40], esi
jb 0x41bd93
mov edx, dword [ebp - 0x54]
push edx
call fcn.004064ef
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x42277c
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x42277c
call fcn.00403ef0
mov ecx, 0x42276c
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x41bde6
mov eax, dword [eax]
push eax
push ebx
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x42279c
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x42279c
call fcn.00403ef0
mov ecx, 0x42278c
lea esi, [ebp - 0x34]
call fcn.00405420
mov byte [ebp - 4], 0x1d
cmp dword [eax + 0x14], 0x10
jb 0x41be2f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push 0x423744
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], eax
call fcn.004093ff
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x18]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x4227c0
mov byte [esi], bl
call fcn.00406680
mov edi, eax
add esp, 4
mov eax, 0x4227c0
call fcn.00403ef0
mov ecx, 0x4227ac
lea esi, [ebp - 0x54]
call fcn.00405420
mov dword [ebp - 4], 0x1e
cmp dword [eax + 0x14], 0x10
jb 0x41bea7
mov eax, dword [eax]
push eax
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov dword [ebp - 0x14], esp
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x4227f0
mov edi, 0x4227d4
mov word [esi], cx
call fcn.0040670b
add esp, 4
push eax
mov eax, 0x4227f0
call fcn.004041e0
mov ecx, edi
lea esi, [ebp - 0x34]
call fcn.004033f0
mov esi, 8
mov byte [ebp - 4], 0x1f
cmp dword [eax + 0x14], esi
jb 0x41bef6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
cmp dword [ebp - 0x20], esi
jb 0x41bf17
mov edx, dword [ebp - 0x34]
push edx
call fcn.004064ef
add esp, 4
xor eax, eax
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], ax
jb 0x41bf40
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.004064ef
add esp, 4
lea esp, [esp]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret