Function at 0x40b180
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a1960
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
mov eax, dword [0x4c8a00]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x201
je 0x40b1c7
cmp eax, 0x202
jle 0x40b457
cmp eax, 0x204
jg 0x40b457
mov eax, dword [edi + 0x20]
push 0x3ea
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, dword [edi + 0x394]
test esi, esi
je 0x40b1e5
call fcn.00417790
lea ecx, [esp + 0x10]
push 0x26
push ecx
call fcn.0042f930
add esp, 8
push 0x1f
push 0x4ac220
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.004026b0
mov eax, dword [edi + 0x37c]
mov edx, dword [esp + 0x10]
push 1
push 0
push eax
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b24c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x388]
cmp dword [ecx - 0xc], 0
je 0x40b3ff
call fcn.0044d2b5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b276
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
push 0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x38], 1
call fcn.0042f590
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x40]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.00402640
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0042fa70
add esp, 4
test eax, eax
je 0x40b3b5
call fcn.0044d2b5
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b2ec
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
push 0x19
mov bl, 3
push ecx
mov byte [esp + 0x34], bl
call fcn.0042f930
mov byte [esp + 0x34], 4
mov edx, dword [edi + 0x388]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s_s.lnk
push ecx
call fcn.00402850
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x40b350
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x10]
push ecx
lea esi, [ebx - 0x10]
mov dword [esp + 0x24], esp
mov ebp, esp
push esi
call fcn.00402640
add eax, 0x10
add esp, 4
mov dword [ebp], eax
call fcn.0042fa70
add esp, 4
test eax, eax
jne 0x40b397
mov eax, dword [edi + 0x37c]
mov ecx, dword [edi + 0x38c]
push eax
push 0
push ecx
mov ecx, dword [esp + 0x40]
push ebx
push ecx
call fcn.00420ab0
add esp, 0x14
mov byte [esp + 0x2c], 2
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40b3b5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b3dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b3ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.gamestart_trayiconclick
lea ecx, [esp + 0x18]
call fcn.00401c60
lea ecx, [esp + 0x14]
push ecx
lea edx, [edi + 0x354]
push edx
mov dword [esp + 0x34], 5
call fcn.0041dbb0
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40b447
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4