Function at 0x43c690
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4871f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
push 0x8c
mov dword [esp + 0x3c], 5
call fcn.0047ae5b
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x43c705
mov ecx, dword [0x4a6058]
mov esi, eax
mov dword [eax + 0x24], ecx
mov edx, dword [0x4a6058]
mov dword [eax + 0x28], edx
mov ecx, dword [0x4a6058]
mov dword [eax + 0x2c], ecx
mov edx, dword [0x4a6058]
mov dword [eax + 0x30], edx
mov ecx, dword [0x4a6058]
mov dword [eax + 0x34], ecx
mov edx, dword [0x4a6058]
mov dword [eax + 0x38], edx
jmp 0x43c707
xor esi, esi
mov ax, word [esp + 0x40]
lea ecx, [esp + 0x44]
mov word [esi + 0x1c], ax
lea edi, [esi + 0x24]
mov eax, 1
push ecx
mov ecx, edi
mov word [esi + 0x1e], ax
mov word [esi + 0x1a], bx
mov word [esi + 0x18], ax
mov dword [esi + 0x20], ebx
call fcn.0047b269
lea edx, [esp + 0x48]
lea ecx, [esi + 0x28]
push edx
call fcn.0047b269
lea eax, [esp + 0x4c]
lea ecx, [esi + 0x2c]
push eax
call fcn.0047b269
lea edx, [esp + 0x50]
lea ecx, [esi + 0x30]
push edx
call fcn.0047b269
lea ebp, [esi + 0x34]
lea eax, [esp + 0x54]
push eax
mov ecx, ebp
call fcn.0047b269
lea ecx, [esi + 0x38]
push 0x4aa22c
call fcn.0047b2b9
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov ecx, dword [esp + 0x58]
lea eax, [esi + 0x4c]
push ecx
push eax
mov dword [esp + 0x24], eax
call fcn.00462db7
add esp, 8
push ebx
push ebx
push ebx
push ebx
push esi
call dword [0x48a5a4]
mov eax, dword [ebp]
mov ecx, dword [edi]
push eax
push ebx
push 2
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00436630
add esp, 0x14
test eax, eax
jne 0x43c87b
cmp esi, ebx
mov dword [esp + 0x40], esi
je 0x43c81e
lea ecx, [esi + 0x38]
mov byte [esp + 0x38], 0xa
call fcn.0047b122
mov ecx, ebp
mov byte [esp + 0x38], 9
call fcn.0047b122
lea ecx, [esi + 0x30]
mov byte [esp + 0x38], 8
call fcn.0047b122
lea ecx, [esi + 0x2c]
mov byte [esp + 0x38], 7
call fcn.0047b122
lea ecx, [esi + 0x28]
mov byte [esp + 0x38], 6
call fcn.0047b122
mov ecx, edi
mov byte [esp + 0x38], 5
call fcn.0047b122
push esi
call fcn.0047ae84
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 4
call fcn.0047b122
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 3
call fcn.0047b122
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], 2
call fcn.0047b122
lea ecx, [esp + 0x50]
mov byte [esp + 0x38], 1
call fcn.0047b122
lea ecx, [esp + 0x54]
mov byte [esp + 0x38], bl
call fcn.0047b122
lea ecx, [esp + 0x58]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047b122
xor eax, eax
jmp 0x43c985
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ebx
push edx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x43c89a
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x10]
push ecx
mov edi, eax
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ebx
push edx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x43c8c0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x43c8d5
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
mov ebp, dword [eax + 0xd8]
lea edi, [eax + 0xd0]
lea ecx, [ebp + 1]
push ecx
mov ecx, edi
call fcn.00412ec0
mov eax, dword [esp + 0x40]
mov edx, dword [edi + 4]
and eax, 0xffff
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [edx + ebp*4], esi
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push ecx
push eax
lea ecx, [eax + 0x64]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00475b91
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 4
call fcn.0047b122
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 3
call fcn.0047b122
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], 2
call fcn.0047b122
lea ecx, [esp + 0x50]
mov byte [esp + 0x38], 1
call fcn.0047b122
lea ecx, [esp + 0x54]
mov byte [esp + 0x38], bl
call fcn.0047b122
lea ecx, [esp + 0x58]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047b122
mov eax, 1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x1c