Function at 0x40bea0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4248e2
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x42f230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x42534c
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], 0
call fcn.00402310
mov dword [ebp - 4], 0
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x24]
call fcn.00402310
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x28], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
or edi, 0xffffffff
test esi, esi
je 0x40c2ee
cmp dword [ebp - 0x28], 2
jle 0x40c04b
mov edx, dword [esi + 4]
test edx, edx
jne 0x40bf2d
xor ecx, ecx
jmp 0x40bf41
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40bf32
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00405ae0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xe4], 0x425554
mov dword [ebp - 0xd4], 0x42555c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x7c], 0x425298
mov byte [ebp - 4], 2
mov dword [ebp - 0x7c], 0x4252e4
mov byte [ebp - 4], 3
lea eax, [ebp - 0xcc]
push 0
push eax
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x30], 1
call fcn.004023e0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], 0x425550
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe8], eax
lea eax, [ebp - 0xcc]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00402550
mov byte [ebp - 4], 5
mov dword [ebp - 0xcc], 0x425514
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0xd4]
push dword [esi + 8]
push eax
call fcn.00401290
add esp, 8
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xe4]
push eax
call fcn.004035b0
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.00402fe0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x4252e4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x7c], 0x425298
call fcn.0040cccc
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.00404e50
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.004045c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.00405270
mov byte [ebp - 4], 0xb
push dword [eax]
call fcn.0040b0d0
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c0b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x40c27e
cmp ebx, 1
jne 0x40c1f5
mov ebx, 5
lea esp, [esp]
mov eax, dword [ebp - 0x14]
dec ebx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.004045c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.00405470
mov byte [ebp - 4], 0xf
push dword [eax]
call fcn.00404ae0
add esp, 0xc
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov edx, edi
mov esi, dword [ebp - 0x1c]
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c130
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
mov dword [ebp - 0x20], esi
call fcn.004045c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.00404fa0
mov byte [ebp - 4], 0x13
push dword [eax]
call fcn.00404ae0
add esp, 0xc
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov edx, edi
mov esi, dword [ebp - 0x2c]
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c18f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x34]
push eax
call fcn.00405160
mov byte [ebp - 4], 0x15
push dword [eax]
call fcn.00404ae0
add esp, 8
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
mov edx, edi
mov esi, dword [ebp - 0x34]
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c1cc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x18], 0
je 0x40c1e0
cmp dword [ebp - 0x10], 0
je 0x40c1e0
test eax, eax
jne 0x40c27e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jne 0x40c0d0
jmp 0x40c27e
cmp ebx, 2
jne 0x40c27e
mov ebx, 5
mov eax, dword [ebp - 0x14]
dec ebx
push 0x430848
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
mov dword [ebp - 0x20], esi
call fcn.004045c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00404fa0
add esp, 8
mov byte [ebp - 4], 0x19
push dword [eax]
call fcn.00404710
add esp, 8
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov edx, edi
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c26e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40c27e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jne 0x40c203
lea eax, [ebp - 0x14]
push 0x425564
push eax
call fcn.00403760
add esp, 8
test al, al
jne 0x40c2bd
lea eax, [ebp - 0x14]
push 0x42545c
push eax
call fcn.00403760
add esp, 8
test al, al
jne 0x40c2bd
lea eax, [ebp - 0x14]
push str.beta
push eax
call fcn.00403760
add esp, 8
test al, al
je 0x40c2ea
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.004045c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 1
call fcn.00409690
add esp, 4
xor esi, esi
jmp 0x40c2f1
or esi, 0xffffffff
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c311
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x14]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40c332
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10