Function at 0x40a2b0
Capabilities:
Get number of processors
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41624b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
mov eax, dword [0x41b0e0]
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov dword [esp + 0x240], eax
mov byte [ebx + 0x1591bf], 0
mov byte [ebx + 0x1591be], 1
mov byte [ebx + 0x158786], 0
mov byte [ebx + 0x158785], 0
mov word [ebx + 0x1591bc], 0x63
mov byte [ebx + 0x158784], 0
mov dword [ebx + 0x24c4], 0
call fcn.0040c80d
push eax
call fcn.0040c72d
mov eax, dword [ebp + 8]
mov dword [ebx + 0x1934], eax
mov byte [esp + 0x30], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
add esp, 8
push 0x104
lea ecx, [esp + 0x2c]
stosw word es:[edi], ax
push ecx
push 0
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a366
sub eax, edx
mov esi, eax
je 0x40a382
mov al, 0x5c
mov cl, byte [esp + esi + 0x27]
dec esi
cmp cl, al
je 0x40a383
test esi, esi
jne 0x40a375
dec esi
mov edx, dword [ebx + 0x1934]
push 1
push 1
push 1
push 0x1000
push 0x1000
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebx + 0x1934]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.004011c0
mov byte [esp + 0x130], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x131]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
mov edx, ecx
stosb byte es:[edi], al
shr ecx, 2
lea esi, [esp + 0x28]
lea edi, [esp + 0x130]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
lea eax, [esp + 0x130]
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a408
sub eax, esi
push eax
lea eax, [esp + 0x134]
lea esi, [ebx + 0x1938]
push eax
mov ecx, esi
call fcn.00402370
push str.Data
lea ecx, [esp + 0x10]
push esi
push ecx
call fcn.004024f0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x1954]
mov dword [esp + 0x258], 0
call fcn.00402080
mov eax, dword [esp + 0x24]
mov edi, 0x10
cmp eax, edi
mov dword [esp + 0x24c], 0xffffffff
jb 0x40a47a
mov edx, dword [esp + 0x10]
push edx
call fcn.0040c1b1
add esp, 4
cmp dword [esi + 0x18], edi
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
jb 0x40a499
mov esi, dword [esi + 4]
jmp 0x40a49c
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, ebx
call fcn.00403940
mov ecx, ebx
call fcn.00401290
mov ecx, ebx
call fcn.00405890
mov ecx, ebx
call fcn.004025a0
mov ecx, ebx
call fcn.00406910
mov ecx, ebx
call fcn.00401ae0
push str.tcon1023
mov ecx, ebx
call fcn.00405520
mov ecx, ebx
call fcn.00406030
mov ecx, ebx
call fcn.00405e40
mov ecx, ebx
call fcn.00405b40
mov ecx, ebx
call fcn.00401350
mov ecx, ebx
call fcn.0040b100
mov eax, dword [ebx + 0x1934]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x3e8
push 1
push eax
call esi
mov ecx, dword [ebx + 0x1934]
push 0
push 0x493e0
push 3
push ecx
call esi
mov edx, dword [ebx + 0x1934]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x23c]
call fcn.0040c0d7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4