Function at 0x41b860
Capabilities:
Get number of processors
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452898
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x46f06c]
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 edi, ecx
sub esp, 0x18
lea esi, [edi + 0x7c]
mov ecx, esp
push esi
call fcn.00413c50
mov cl, 1
call fcn.00418280
mov edx, dword [esi + 0x30]
add esp, 0x18
cmp edx, eax
je 0x41b8b8
xor ecx, ecx
test edx, edx
cmove ecx, eax
mov edx, ecx
mov dword [esi + 0x30], edx
test edx, edx
setne al
mov byte [esi + 0x5c], al
test edx, edx
je 0x41b8d7
cmp dword [edi + 0xb0], 0x10000
jae 0x41b8d7
mov ecx, esi
call fcn.004181c0
cmp byte [edi + 0xd8], 0
je 0x41bd1b
cmp dword [edi + 0x1cc], 1
je 0x41bdb5
push 0x64
mov dword [edi + 0x1cc], 1
lea ebx, [edi + 0x74]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.004181c0
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x41b91b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebx + 0x38]
push 0
push 0xc3a
call dword [0x471da0]
mov dword [ebx + 0x60], eax
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov dword [ebp - 0x30], eax
cmp eax, ecx
je 0x41b961
nop dword [eax]
mov dword [eax + 0x34], 0
lea ecx, [ebp - 0x30]
mov dword [eax + 0x30], 0
mov byte [eax + 0x54], 0
call fcn.00413d70
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebx]
jne 0x41b940
mov dword [ebx + 0x94], 0x4cbebc20
lea ecx, [ebx + 0x108]
mov dword [ebx + 0x84], 0x4cbebc20
mov dword [ebx + 0x80], 0x4cbebc20
mov dword [ebx + 0x7c], 0x4cbebc20
mov dword [ebx + 0x78], 0x4cbebc20
mov dword [ebx + 0x74], 0x4cbebc20
mov dword [ebx + 0x70], 0x4cbebc20
mov dword [ebx + 0x90], 0x4cbebc20
mov dword [ebx + 0x8c], 0x4cbebc20
mov dword [ebx + 0x88], 0x4cbebc20
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xa8], 0
push 0
push 0x463468
mov dword [ebx + 0x150], 0
mov dword [ebx + 0x154], 0
mov dword [ebx + 0xf8], 0
mov dword [ebx + 0x104], 0
mov dword [ebx + 0xfc], 0
call fcn.00402f60
lea eax, [ebp - 0x30]
mov dword [ebx + 0x100], 0
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_IsWow64Process]
push eax
call esi
test eax, eax
je 0x41ba95
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 0x60]
call esi
test eax, eax
je 0x41ba95
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jne 0x41bdd1
mov ecx, ebx
call fcn.00415330
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x2713
push dword [edi + 0x2c]
call esi
push 0x2714
push dword [edi + 0x2c]
call esi
push 0x1000
call fcn.00430a04
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
lea ecx, [edi + 0x1d8]
cmp dword [0x46f9c4], 8
mov edx, 0x46f9b0
cmovae edx, dword [0x46f9b0]
cmp dword [ecx + 0x14], 8
jb 0x41baf0
mov ecx, dword [ecx]
cmp dword [0x46fa24], 8
mov eax, 0x46fa10
push edx
push dword [edi + 0xac]
cmovae eax, dword [0x46fa10]
push ecx
push eax
push 0x800
push esi
call fcn.00414a90
mov ecx, dword [edi + 0x64]
mov edx, esi
add esp, 0x18
add ecx, 0x30
lea eax, [edx + 2]
mov dword [ebp - 0x2c], eax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41bb30
sub edx, dword [ebp - 0x2c]
sar edx, 1
push edx
push esi
call fcn.00402f60
mov eax, dword [edi + 0x68]
push 1
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x2c], eax
push dword [eax]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, eax
test ecx, ecx
je 0x41bb66
mov eax, dword [ebp - 0x2c]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x68]
mov dword [eax + 0x58], 0
mov eax, dword [edi + 0x68]
mov dword [eax + 0x54], 0
mov ecx, dword [edi + 0x68]
add ecx, 0x30
cmp ecx, 0x46f950
je 0x41bba7
cmp dword [0x46f964], 8
mov eax, 0x46f950
push dword [0x46f960]
cmovae eax, dword [0x46f950]
push eax
call fcn.00402f60
mov eax, dword [edi + 0x54]
cmp byte [eax + 0x52], 0
je 0x41bbce
push 0
push 0
push 0
push str.close_media
call dword [sym.imp.WINMM.dll_mciSendStringW]
mov eax, dword [edi + 0x54]
cmp byte [eax + 0x50], 0
je 0x41bbce
mov byte [eax + 0x52], 0
push 0x11
xor eax, eax
mov dword [ebp - 0x18], 0
push str.IgnoreGameVersion
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00402f60
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [edi + 0x220]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.00413c50
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0x70]
push eax
call fcn.004191a0
movzx eax, al
mov ecx, ebx
push eax
mov byte [ebp - 4], 2
call fcn.00412a50
test al, al
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
sete bl
cmp edx, 8
jb 0x41bc6d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41bc63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bdee
push edx
push ecx
call fcn.00430470
add esp, 8
test bl, bl
je 0x41bc7a
push 1
mov ecx, edi
call fcn.0041b3b0
movzx eax, byte [edi + 0x30]
mov ecx, edi
push eax
call fcn.00414f50
cmp dword [edi + 0xd4], 0
jne 0x41bcf3
push dword [edi + 0xac]
push 0
push 0xc3a
call dword [0x471da0]
mov dword [edi + 0xd4], eax
test eax, eax
jne 0x41bcf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x41bcf3
cmp dword [0x46f934], 8
mov ecx, 0x46f920
push 0x10
cmovae ecx, dword [0x46f920]
mov eax, 0x46fa70
cmp dword [0x46fa84], 8
push ecx
cmovae eax, dword [0x46fa70]
push eax
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
mov ecx, edi
call fcn.0041b3b0
push 0
push 0x21
push 0x2712
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_SetTimer]
test esi, esi
je 0x41bdb5
push esi
call fcn.004304d1
add esp, 4
jmp 0x41bdb5
cmp dword [edi + 0x1cc], 0
je 0x41bdb5
mov eax, dword [edi + 0x68]
mov dword [edi + 0x1cc], 0
lea ecx, [eax + 0x30]
cmp ecx, 0x46f938
je 0x41bd62
cmp dword [0x46f94c], 8
mov eax, 0x46f938
push dword [0x46f948]
cmovae eax, dword [0x46f938]
push eax
call fcn.00402f60
mov eax, dword [edi + 0x68]
mov esi, dword [eax + 0x48]
push 0
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
test eax, eax
je 0x41bd76
mov dword [esi + 4], eax
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x21
push 0x2713
push dword [edi + 0x2c]
call esi
push 0
push 0xc8
push 0x2714
push dword [edi + 0x2c]
call esi
push 0x2712
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_KillTimer]
movzx eax, byte [edi + 0x30]
mov ecx, edi
push eax
call fcn.00414f50
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.0043045f
mov esp, ebp
pop ebp
ret
push 0x30
push 0
mov edx, 0x46f920
mov ecx, 0x46fab8
call fcn.0040d790
add esp, 8
push 0x64
call fcn.00438859
call fcn.004353c3
int3