Function at 0x423fa0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e4c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x30]
push edi
mov ecx, dword [esi + 0xc]
push eax
mov dword [esp + 0x20], esi
call fcn.00415b30
mov edi, dword [eax]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], edi
mov ebx, dword [eax + 4]
mov dword [esp + 0x28], ebx
call fcn.0040e940
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], 0
call fcn.0040e9d0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.default
call sub.MFC42.DLL_CString::CString_2
push ebx
push edi
lea ecx, [esp + 0x4c]
call fcn.0040ece0
lea ecx, [esp + 0x3c]
call sym.EXP.EXE_public:_unsigned_long_int___thiscall_CxImage::GetWidth_void_const
test eax, eax
jne 0x424039
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0040ea60
xor eax, eax
jmp 0x4241f0
mov eax, dword [esi + 0xc]
push 0xffffff
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x60]
push ecx
push edx
call fcn.0044a230
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x424071
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0040ea60
xor eax, eax
jmp 0x4241f0
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x3c]
mov ebp, dword [eax + 0x28]
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], ebx
call fcn.0040eb90
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.0040eaf0
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x64]
cdq
idiv dword [esp + 0x24]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov eax, ecx
cdq
fild dword [esp + 0x1c]
idiv dword [esp + 0x28]
fstp dword [esp + 0x20]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
fild dword [esp + 0x1c]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
push edx
push eax
call fcn.0040eb20
cmp esi, edi
mov dword [esp + 0x1c], esi
jg 0x4241db
push esi
lea ecx, [esp + 0x40]
call fcn.0040ecb0
test eax, eax
je 0x4241ce
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
sub esi, edx
sub eax, edx
sub edi, ecx
push esi
sub eax, esi
push edi
push eax
push ecx
mov ecx, dword [esp + 0x20]
push 0
mov dword [esp + 0x34], edi
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x38], esi
push edx
call sub.ipl.dll_iplSetROI
mov eax, dword [esp + 0x10]
push eax
call fcn.00449bf0
fild dword [esp + 0x24]
add esp, 4
fidiv dword [esp + 0x24]
fild dword [esp + 0x2c]
fidiv dword [esp + 0x14]
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x42417f
mov eax, esi
xor esi, esi
imul eax, ebp
cdq
idiv edi
mov edi, ebp
mov ebx, eax
mov eax, dword [esp + 0x14]
sub eax, ebx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jmp 0x424196
mov eax, edi
xor ecx, ecx
imul eax, ebx
cdq
idiv esi
mov edi, eax
mov eax, ebp
sub eax, edi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push ebx
push edi
push ecx
push esi
mov esi, dword [esp + 0x94]
push 0
mov ecx, dword [esi + 0x30]
push ecx
call sub.ipl.dll_iplSetROI
push esi
call fcn.00449bf0
mov edx, dword [esp + 0x14]
push 3
push edx
push esi
call fcn.00449670
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
add esp, 0x10
inc esi
cmp esi, edi
mov dword [esp + 0x1c], esi
jle 0x4240f4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0040ea60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 4