Function at 0x410260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447c50
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x45a1cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x238], ebx
push 0
mov dword [ebp - 0x22c], 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0x2ff
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
lea ecx, [ebx + 0x78]
call fcn.00415330
lea ecx, [ebx + 0x78]
call fcn.00413fe0
mov ax, word [0x45220c]
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.00425410
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x220]
push eax
call fcn.0040ac40
mov ecx, eax
call fcn.00408920
mov eax, dword [eax]
mov ebx, 1
mov dword [ebp - 4], 0
mov ecx, str.ludashi
mov dword [ebp - 0x22c], ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410369
test dx, dx
je 0x410365
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410369
add eax, 4
add ecx, 4
test dx, dx
jne 0x410343
xor eax, eax
jmp 0x41036e
sbb eax, eax
or eax, 1
test eax, eax
je 0x4103c7
lea eax, [ebp - 0x234]
push eax
call fcn.0040ac40
mov ecx, eax
call fcn.00408920
mov ebx, 3
mov ecx, str.ldslite
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4103b7
test dx, dx
je 0x4103b3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4103b7
add eax, 4
add ecx, 4
test dx, dx
jne 0x410391
xor eax, eax
jmp 0x4103bc
sbb eax, eax
or eax, 1
mov byte [ebp - 0x219], 0
test eax, eax
jne 0x4103ce
mov byte [ebp - 0x219], 1
or edi, 0xffffffff
test bl, 2
je 0x4103fc
mov edx, dword [ebp - 0x234]
and ebx, 0xfffffffd
mov dword [ebp - 0x22c], ebx
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4103fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410420
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x219], 0
je 0x410456
push str.computerz.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push str.create
push str.status
push str.LdsHelper
jmp 0x410577
lea eax, [ebp - 0x220]
push eax
call fcn.0040ac40
mov ecx, eax
call fcn.00408920
mov ecx, str.bizhi
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410496
test dx, dx
je 0x410492
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410496
add eax, 4
add ecx, 4
test dx, dx
jne 0x410470
xor esi, esi
jmp 0x41049b
sbb esi, esi
or esi, 1
mov edx, dword [ebp - 0x220]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4104b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x4104e9
push str.config.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push str.create
push str.status
push str.birdhelper
jmp 0x410577
lea eax, [ebp - 0x220]
push eax
call fcn.0040ac40
mov ecx, eax
call fcn.00408920
mov ecx, str.gamemaster
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410529
test dx, dx
je 0x410525
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410529
add eax, 4
add ecx, 4
test dx, dx
jne 0x410503
xor esi, esi
jmp 0x41052e
sbb esi, esi
or esi, 1
mov edx, dword [ebp - 0x220]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41054b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x41057d
push str.computerz.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push str.create
push str.status
push str.gmHelper
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, dword [ebp - 0x238]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x493e0
push 0x3e8
push dword [ebx + 4]
call esi
push 0
push 0x1b7740
push 0x3e9
push dword [ebx + 4]
call esi
call fcn.00403870
mov ecx, eax
test ecx, ecx
je 0x41071f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
push 0x44ad70
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 1
call fcn.00404120
test al, al
jne 0x4105f5
push 3
push 0x44ad70
lea ecx, [ebp - 0x228]
call fcn.00403300
mov dword [ebp - 4], 2
call fcn.00403870
mov ecx, eax
test ecx, ecx
je 0x410729
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push 0x449570
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.00404120
test al, al
jne 0x410643
push 6
push 0x449570
lea ecx, [ebp - 0x224]
call fcn.00403300
mov ecx, dword [0x45b4d0]
mov byte [ebp - 4], 4
test ecx, ecx
jne 0x4106ab
push 0x459008
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x45b4d0], 0
jne 0x41069a
push 0x1c
call fcn.0041bd36
add esp, 4
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x410688
mov ecx, eax
call fcn.00411b10
mov ecx, eax
jmp 0x41068a
xor ecx, ecx
mov byte [ebp - 4], 4
xchg dword [ebp - 0x230], eax
mov dword [0x45b4d0], ecx
push 0x459008
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x45b4d0]
push 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00412740
mov edx, dword [ebp - 0x224]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4106e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x410703
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041c009
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402420
push 0x80004005
call fcn.00402420
int3