Function at 0x40439a
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4486b1
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
mov eax, dword [0x45f774]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
call fcn.00419238
push eax
lea ecx, [esp + 0x14]
call fcn.004017d2
xor ebx, ebx
mov dword [esp + 0xa0], ebx
call fcn.00419238
push eax
lea ecx, [esp + 0x20]
call fcn.004017d2
lea ecx, [edi + 0xb4]
push ecx
lea ecx, [edi + 0xb0]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 1
mov eax, dword [edi + 0xa8]
push ecx
push eax
call fcn.00404126
push dword [edi + 0xa8]
push dword [esp + 0x30]
call fcn.00407e6b
add esp, 0x18
call fcn.0040598f
push eax
push dword [edi + 0xac]
lea eax, [esp + 0x18]
push dword [edi + 0xa8]
push str._s__s_
push eax
call fcn.00402b1b
add esp, 0x10
lea eax, [esp + 0x14]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.00401ca6
call fcn.00407ca6
pop ecx
push dword [edi + 0x98]
call fcn.0041ed23
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.004074d7
mov esi, eax
jmp 0x404495
mov eax, dword [edi + 0x98]
push esi
push eax
call fcn.0041ed23
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00407418
dec esi
jns 0x40447e
call fcn.00419238
push eax
lea ecx, [esp + 0x10]
call fcn.004017d2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], vtable.CBitmap.0
lea esi, [esp + 0x34]
call fcn.00403039
lea esi, [esp + 0x64]
call fcn.00403039
push ebx
push 0x18
push 0x64
push 0x64
mov ecx, esi
mov byte [esp + 0xb0], 5
mov dword [esp + 0x34], ebx
call fcn.004030e0
call fcn.00403293
mov esi, dword [0x468f14]
cmp esi, dword [0x468f18]
mov dword [esp + 0x30], eax
jbe 0x4044fb
call fcn.004316e9
mov dword [esp + 0x14], 0x468f10
mov dword [esp + 0x18], esi
mov esi, dword [0x468f18]
cmp dword [0x468f14], esi
jbe 0x40451a
call fcn.004316e9
cmp dword [esp + 0x18], esi
je 0x4046b8
lea esi, [esp + 0x14]
call fcn.00405dce
push dword [eax + 0x20]
call fcn.00405dce
push dword [eax + 0x10]
lea eax, [esp + 0x18]
push 0x4523d4
push eax
call fcn.00402b1b
push dword [esp + 0x34]
lea eax, [esp + 0x20]
push dword [edi + 0x9c]
push str._stmp_d.bmp
push eax
call fcn.00402b1b
add esp, 0x20
push dword [esp + 0xc]
inc dword [esp + 0x28]
call fcn.00405dce
push ecx
add eax, 0x14
mov dword [esp + 0x28], esp
mov ecx, esp
push eax
call fcn.00401ca6
call fcn.0040d2b5
pop ecx
pop ecx
push dword [esp + 0xc]
lea eax, [esp + 0x38]
push eax
call fcn.004032d6
push 0xff0062
push 0x64
push 0x64
push ebx
push ebx
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_PatBlt]
push dword [esp + 0x44]
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x48]
push dword [esp + 0x44]
cdq
push dword [esp + 0x4c]
sub eax, edx
push dword [esp + 0x4c]
sar eax, 1
push eax
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x54]
cdq
sub eax, edx
sar eax, 1
push eax
push dword [esp + 0x48]
lea eax, [esp + 0x50]
call fcn.004031b9
push dword [esp + 0xc]
or dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x55], bl
mov byte [esp + 0x54], bl
lea ebx, [esp + 0x68]
call fcn.004037cd
call fcn.0041ed23
mov eax, dword [eax + 8]
push 0x50
xor esi, esi
push esi
push esi
push esi
push dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
lea ecx, [esp + 0x2c]
call fcn.0041f952
push dword [esp + 0x2c]
mov eax, dword [edi + 0x98]
push eax
call fcn.0041ed23
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00407301
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.0041f97b
push esi
push esi
push 0x1004
push dword [edi + 0x12c]
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push dword [esp + 0x24]
lea ebx, [edi + 0x10c]
push esi
push esi
push dword [esp + 0x20]
mov ecx, ebx
push eax
push 3
call fcn.0041a886
push 1
push eax
mov ecx, ebx
call fcn.0041eef3
mov eax, dword [esp + 0x18]
cmp eax, dword [0x468f18]
jb 0x4046ac
call fcn.004316e9
add dword [esp + 0x18], 0x24
xor ebx, ebx
jmp 0x404507
lea esi, [esp + 0x64]
call fcn.00403634
or dword [esp + 0x84], 0xffffffff
lea ecx, [edi + 0x10c]
lea eax, [edi + 0x94]
push ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x85], bl
mov byte [esp + 0x84], bl
call fcn.00407593
push ebx
push ebx
push 0x402
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.004030a0
lea ecx, [esp + 0x34]
call fcn.004030a0
mov byte [esp + 0xa0], 2
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], vtable.CGdiObject.0
call fcn.0041f9a5
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.004017b8
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004017b8
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004017b8
xor eax, eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret