Function at 0x40b38e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.00413a90
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x9c6a
cmp ecx, eax
push edi
mov ebx, edx
jg 0x40b5e7
je 0x40b577
mov eax, ecx
sub eax, 0x9c56
je 0x40b52f
sub eax, 3
je 0x40b473
sub eax, 9
je 0x40b458
sub eax, 7
jne 0x40b78f
cmp dword [ebx + 0xc54], eax
jne 0x40b78f
mov eax, dword [esi + 0x3dc]
cmp dword [eax + 0xb78], 2
jne 0x40b400
add eax, 0x868
jmp 0x40b40b
lea eax, [ebx + 0xc8c]
cmp byte [eax], 0
je 0x40b41c
push eax
push 1
add ebx, 0xc
push ebx
call fcn.00411d7d
jmp 0x40b56c
push 0
push 1
lea eax, [ebx + 0xc]
push eax
call fcn.00411d7d
add esi, 0x3b8
test eax, eax
mov dword [esi], eax
jne 0x40b78f
call fcn.00405afd
test eax, eax
je 0x40b78f
push str._disable___s_
push ebx
call fcn.0040b2e2
mov dword [esi], eax
jmp 0x40b78f
movzx ebx, byte [ebx + 0xc25]
test bl, bl
je 0x40b78f
push ebx
call fcn.00401ba4
pop ecx
jmp 0x40b78f
mov eax, dword [esi + 0x3dc]
cmp dword [eax + 0xb78], 2
jne 0x40b489
add eax, 0x868
jmp 0x40b494
lea eax, [ebx + 0xc8c]
cmp byte [eax], 0
je 0x40b4a3
push eax
add ebx, 0xc
push ebx
call fcn.00411f0c
jmp 0x40b56c
push 0
lea edi, [ebx + 0xc]
push edi
call fcn.00411f0c
mov dword [esi + 0x3b8], eax
call fcn.00405afd
test eax, eax
je 0x40b508
xor eax, eax
cmp dword [esi + 0x3b8], eax
je 0x40b508
lea ecx, [ebp + 8]
push ecx
push 0x2011f
push eax
push str.SYSTEMCurrentControlSet
push reloc.WS2_32.dll_bind
mov dword [ebp + 8], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40b4f3
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40b508
push 0
push edi
call fcn.00411f0c
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 0x3b8], ecx
cmp dword [esi + 0x3b8], 0
jne 0x40b78f
call fcn.00405afd
test eax, eax
je 0x40b78f
push str._remove___s_
push ebx
call fcn.0040b2e2
jmp 0x40b56c
mov eax, dword [esi + 0x3dc]
cmp dword [eax + 0xb78], 2
jne 0x40b549
lea ecx, [eax + 0x868]
add ebx, 0xc
jmp 0x40b557
lea ecx, [ebx + 0xc8c]
add ebx, 0xc
cmp byte [ecx], 0
je 0x40b563
push ecx
push dword [eax + 0x54]
push ebx
call fcn.00411bc3
jmp 0x40b56c
push dword [eax + 0x54]
push ebx
call fcn.00411b17
mov dword [esi + 0x3b8], eax
jmp 0x40b78f
xor edi, edi
cmp dword [ebx + 0xc54], edi
ja 0x40b58d
cmp dword [ebx + 0xc74], edi
jne 0x40b78f
mov eax, dword [esi + 0x3dc]
cmp dword [eax + 0xb78], 2
jne 0x40b5a3
add eax, 0x868
jmp 0x40b5ae
lea eax, [ebx + 0xc8c]
cmp byte [eax], 0
je 0x40b5b5
push eax
push edi
jmp 0x40b40e
push edi
push edi
lea eax, [ebx + 0xc]
push eax
call fcn.00411d7d
add esi, 0x3b8
cmp eax, edi
mov dword [esi], eax
jne 0x40b78f
call fcn.00405afd
test eax, eax
je 0x40b78f
push str._enable___s_
jmp 0x40b44b
mov eax, ecx
sub eax, 0x9c76
je 0x40b74e
dec eax
je 0x40b6ac
sub eax, 0x1c
je 0x40b65c
sub eax, 3
jne 0x40b78f
mov esi, dword [esi + 0x3dc]
xor ecx, ecx
cmp dword [esi + 0xb78], 2
jne 0x40b622
lea ecx, [esi + 0x868]
jmp 0x40b62e
lea eax, [ebx + 0xc8c]
cmp byte [eax], cl
je 0x40b62e
mov ecx, eax
push ecx
lea eax, [ebx + 0xc]
call fcn.00411be1
test eax, eax
jne 0x40b78f
call fcn.00405afd
test eax, eax
je 0x40b78f
push str._reload_hub___s_
push ebx
call fcn.0040b2e2
jmp 0x40b78f
mov eax, dword [esi + 0x3b0]
mov eax, dword [eax + 0x1b8]
mov edx, dword [ebx]
lea ecx, [ebp - 0x2000]
push ecx
and eax, 0xffff
push eax
mov ecx, ebx
mov byte [ebp - 0x2000], 0
call dword [edx]
cmp byte [eax], 0
je 0x40b78f
push eax
lea edi, [esi + 0x3c0]
or eax, 0xffffffff
call fcn.00406735
push 0x414dfc
or eax, 0xffffffff
call fcn.00406735
jmp 0x40b78f
cmp dword [ebx + 0xc54], 0
jne 0x40b78f
mov eax, dword [esi + 0x3dc]
cmp dword [eax + 0xb78], 2
jne 0x40b6d0
add eax, 0x868
push eax
jmp 0x40b6dd
lea eax, [ebx + 0xc8c]
cmp byte [eax], 0
jne 0x40b6cd
push 0
push 1
lea edi, [ebx + 0xc]
push edi
call fcn.00411d7d
mov dword [esi + 0x3b8], eax
mov eax, dword [esi + 0x3dc]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x3dc]
cmp dword [eax + 0xb78], 2
jne 0x40b713
add eax, 0x868
jmp 0x40b71e
lea eax, [ebx + 0xc8c]
cmp byte [eax], 0
je 0x40b727
push eax
push 0
push edi
jmp 0x40b412
push 0
push 0
push edi
call fcn.00411d7d
test eax, eax
mov dword [esi + 0x3b8], eax
jne 0x40b78f
call fcn.00405afd
test eax, eax
je 0x40b78f
push str._disable_enable___s_
jmp 0x40b527
mov cl, byte [ebx + 0xc25]
test cl, cl
je 0x40b78f
xor eax, eax
lea edi, [ebp + 9]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [ebx + 0xc26]
push 5
push 0
push 0
mov byte [ebp + 9], al
lea eax, [ebp + 8]
push eax
push str.open
push dword [esi + 0x108]
mov byte [ebp + 8], cl
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebx
leave
ret 4