Function at 0xb0fac0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
jmp 0xb0fb1e
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
je 0xb0fb49
mov eax, dword [ebp - 0x14]
and eax, 0xffff
mov dword [ebp + 0x14], eax
jmp 0xb0fb50
mov dword [ebp + 0x14], 0xa
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [0xb1698c], eax
mov word [0xb14348], 0
mov word [0xb16bee], 0
cmp dword [ebp + 0xc], 0
jne 0xb0fba6
mov ecx, dword [ebp + 8]
call fcn.00b10a00
test eax, eax
jne 0xb0fba6
xor eax, eax
jmp 0xb0ff24
push 0x104
push 0xb16a20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0xb0fbc9
xor eax, eax
jmp 0xb0ff24
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.00b10a50
test eax, eax
jne 0xb0fbf7
push 0
push 0xb14094
push 0xb1439c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0xb0ff24
mov dword [ebp - 0x48], 1
mov eax, dword [ebp + 0x10]
mov dword [0xb16984], eax
mov edx, 0xb16a00
lea ecx, [0xb16961]
call fcn.00b12cd0
call fcn.00b12d00
test eax, eax
je 0xb0fc3b
mov word [0xb14348], 1
mov dword [0xb142fc], 1
jmp 0xb0fec0
mov ecx, 1
call fcn.00b12bc0
xor eax, eax
mov ax, word [0xb16bee]
test ah, 0xc0
jne 0xb0fc84
xor eax, eax
mov ax, word [0xb16bee]
test ah, 0x10
je 0xb0fc84
push 0
push 0x8003
push 0x111
mov eax, dword [0xb16b40]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0xb0fc89
call fcn.00b10240
cmp dword [0xb14304], 0
je 0xb0fcac
mov ecx, dword [ebp - 0x48]
call fcn.00b12dd0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.00b12e90
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jne 0xb0fcdd
xor eax, eax
mov ax, word [0xb14348]
test eax, eax
je 0xb0fcdd
xor eax, eax
mov ax, word [0xb1695f]
test eax, eax
je 0xb0fcdd
dec word [0xb1695f]
cmp dword [ebp - 0x48], 1
jne 0xb0fded
xor eax, eax
mov ax, word [0xb14348]
test eax, eax
je 0xb0fded
xor eax, eax
mov ax, word [0xb14310]
test al, 2
jne 0xb0fd25
cmp dword [0xb1430c], 0
je 0xb0fd25
xor eax, eax
mov ax, word [0xb14310]
or eax, 2
mov word [0xb14310], ax
xor eax, eax
mov ax, word [0xb14310]
test al, 2
je 0xb0fd64
call fcn.00b0c2c0
mov word [0xb14348], ax
xor eax, eax
mov ax, word [0xb14348]
test eax, eax
jne 0xb0fd64
push 0
push 0xb14094
push 0xb1438c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov ax, word [0xb14310]
test al, 1
jne 0xb0fded
cmp dword [0xb14308], 0
je 0xb0fdb2
cmp dword [0xb16971], 0
jl 0xb0fdb2
mov eax, dword [0xb16971]
shl eax, 2
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
mov ecx, dword [0xb16bf8]
xor edx, edx
mov dx, word [eax + ecx + 0x28]
test dl, 8
jne 0xb0fddc
cmp dword [0xb14308], 0
je 0xb0fded
cmp dword [0xb16971], 0
jge 0xb0fded
xor eax, eax
mov ax, word [0xb16c00]
test al, 8
je 0xb0fded
xor eax, eax
mov ax, word [0xb14310]
or eax, 1
mov word [0xb14310], ax
xor eax, eax
mov ax, word [0xb14310]
test eax, eax
je 0xb0fec0
cmp dword [ebp - 0x48], 1
jne 0xb0fec0
xor eax, eax
mov ax, word [0xb14348]
test eax, eax
je 0xb0fec0
mov eax, 0xb16b30
mov ecx, 0xb16900
add ecx, 0x61
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
call fcn.00b12780
test eax, eax
jne 0xb0fe56
mov edx, 0xb14384
mov ecx, 0xb14368
call fcn.00b0f480
mov edx, 0xb16a00
lea ecx, [0xb16961]
call fcn.00b12cd0
mov ecx, dword [ebp + 0x10]
call fcn.00b0c170
test eax, eax
je 0xb0fe9e
call fcn.00b0c0f0
mov dword [ebp - 0x48], eax
push 0
push 0
push 0x10
mov eax, dword [0xb16b40]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov word [0xb14348], 0
jmp 0xb0fec0
mov dword [ebp - 0x48], 0
mov word [0xb14348], 0
push 0
push 0
push 0x10
mov eax, dword [0xb16b40]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x10
mov eax, dword [0xb16b40]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0xb14314], 2
je 0xb0ff12
cmp dword [ebp - 0x48], 1
jne 0xb0ff12
xor eax, eax
mov ax, word [0xb14348]
test eax, eax
je 0xb0ff12
mov eax, dword [ebp + 8]
push eax
push 0xb14338
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.00b0ff90
call fcn.00b0ff30
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
leave
ret 0x10