Function at 0x4015c0
Capabilities:
Accept command line arguments
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x80], ecx
xor edx, edx
mov byte [ebp - 0x69], cl
xor ebx, ebx
mov dword [ebp - 0x78], edx
push eax
mov dword [ebp - 0x68], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 0x74], esi
test esi, esi
jne 0x401613
mov ebx, 0xfffffc18
jmp 0x40190e
xor edi, edi
cmp dword [ebp - 0x48], ebx
jbe 0x401909
jmp 0x401623
mov esi, dword [ebp - 0x74]
push 5
push str._dll
push dword [esi + edi*4]
call fcn.004070eb
mov ecx, dword [esi + edi*4]
add esp, 0xc
test eax, eax
jne 0x401660
lea edx, [ecx + 0xa]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401644
sub ecx, esi
mov ebx, 0
sar ecx, 1
cmovne ebx, edx
jmp 0x40173a
push 5
push str._fel
push ecx
call fcn.004070eb
mov ecx, dword [esi + edi*4]
add esp, 0xc
test eax, eax
jne 0x40169f
lea edx, [ecx + 0xa]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401680
sub ecx, esi
mov esi, 0
sar ecx, 1
cmovne esi, edx
mov dword [ebp - 0x68], esi
jmp 0x40173d
push 0x41d920
push ecx
call fcn.00403e73
add esp, 8
test eax, eax
jne 0x4016be
mov esi, dword [ebp - 0x68]
mov al, 1
mov byte [ebp - 0x69], al
jmp 0x401740
push 7
push str._fn_id
push dword [esi + edi*4]
call fcn.004070eb
mov ecx, dword [esi + edi*4]
add esp, 0xc
test eax, eax
jne 0x4016fc
lea edx, [ecx + 0xe]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4016e0
sub ecx, esi
mov eax, 0
sar ecx, 1
cmovne eax, edx
mov dword [ebp - 0x80], eax
jmp 0x40173a
push 9
push str._fn_args
push ecx
call fcn.004070eb
add esp, 0xc
test eax, eax
jne 0x40173a
mov esi, dword [esi + edi*4]
add esi, 0x12
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401720
sub ecx, edx
mov eax, 0
sar ecx, 1
cmove esi, eax
mov dword [ebp - 0x78], esi
mov esi, dword [ebp - 0x68]
mov al, byte [ebp - 0x69]
inc edi
cmp edi, dword [ebp - 0x48]
jb 0x401620
test ebx, ebx
je 0x401906
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
test al, al
je 0x401797
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov eax, dword [ebp - 0x74]
mov edx, 0x401350
push 0
push ebx
mov ecx, esi
push dword [eax]
call fcn.00401470
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4018f0
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x74]
call edi
jmp 0x401945
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x4017ee
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
mov ebx, eax
lea eax, [ebp - 0x68]
push eax
push 0x400
push ebx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0x10
push 0x41d8e8
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push eax
call esi
push dword [ebp - 0x68]
call edi
jmp 0x4018f6
test esi, esi
je 0x401808
push eax
push 0
push 0
mov edx, fcn.00401110
mov ecx, esi
call fcn.00401470
add esp, 0xc
jmp 0x401821
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x40182e
mov edx, dword [ebp - 0x78]
push edx
push ecx
push eax
push 0
push 0
call fcn.00401110
add esp, 0x14
mov ebx, eax
mov dword [ebp - 0x70], ebx
test ebx, ebx
jne 0x4018e7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 4
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4018de
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x4018d7
nop word [eax + eax]
cmp dword [ebp - 0x58], ebx
jne 0x40187d
mov esi, dword [ebp - 0x5c]
cmp esi, dword [ebp - 0x78]
jne 0x40188e
lea eax, [ebp - 0x64]
xor esi, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x401870
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test esi, esi
je 0x4018de
push esi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x4018de
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
cmp eax, 0xffffffff
je 0x4018d3
call edi
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x401854
jmp 0x4018de
call edi
jmp 0x4018de
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x70]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x74]
call edi
test ebx, ebx
jns 0x401945
cmp ebx, 0xfffffffc
jne 0x40191b
jmp 0x401945
mov esi, dword [ebp - 0x74]
mov ebx, 0xfffffc17
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push ebx
push str.Error__d
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.00401010
add esp, 0x14
lea eax, [ebp - 0x44]
push 0x10
push 0x41d8c0
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040195a
mov esp, ebp
pop ebp
ret 0x10