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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476314
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
movss dword [ebp - 0x4c], xmm3
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
wait
push 0x30
call fcn.0046c08a
mov esi, eax
mov dword [ebp - 0x6c], esi
mov byte [ebp - 4], 1
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
call fcn.0042f5b0
mov eax, dword [eax + 0xc]
push 0x43ba40
push ecx
push eax
mov ecx, esi
call fcn.0043a1d0
mov esi, eax
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x70], esi
push 0
mov ecx, esi
call fcn.00418f60
mov dword [0x49fc34], esi
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
push 0x58
call fcn.0046c08a
add esp, 4
mov ecx, eax
call fcn.0043a870
mov ebx, eax
mov dword [ebp - 0x74], ebx
mov dword [ebx + 0x20], 0
push str.JPEG...
lea ecx, [ebx + 0x24]
call fcn.004044d0
lea ecx, [ebx + 0x3c]
push str.Saving...
call fcn.004044d0
mov dword [ebx + 0x54], 1
push ebx
mov ecx, esi
call fcn.0043a2f0
mov dword [ebx + 0x20], 1
push str.JPEG...
lea ecx, [ebx + 0x24]
call fcn.004044d0
push str.Rendering...
lea ecx, [ebx + 0x3c]
call fcn.004044d0
mov dword [ebx + 0x54], 0x32
push ebx
mov ecx, esi
call fcn.0043a2f0
push 1
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x64], xmm0
movss xmm2, dword [ebp + 0x10]
movss dword [ebp - 0x60], xmm2
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x48], vtable.std::_Func_impl_no_alloc_class__lambda_3a0ef702a052d22a9c30160c5c05039c___long_int___.0
movq xmm1, qword [ebp - 0x20]
movq qword [ebp - 0x44], xmm1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 3
movaps xmm0, xmm2
call fcn.0046dbc0
mov edi, eax
movss xmm0, dword [ebp - 0x4c]
call fcn.0046dbc0
mov esi, eax
call fcn.0042f5b0
mov ecx, dword [eax + 0x30]
lea eax, [ebp - 0x48]
push eax
push edi
mov edx, esi
call fcn.0040e2a0
add esp, 8
mov edi, eax
mov dword [ebp - 0x78], edi
mov dword [ebx + 0x20], 1
push str.JPEG...
lea ecx, [ebx + 0x24]
call fcn.004044d0
push str.Saving...
lea ecx, [ebx + 0x3c]
call fcn.004044d0
mov dword [ebx + 0x54], 0x3c
push ebx
mov esi, dword [ebp - 0x54]
mov ecx, esi
call fcn.0043a2f0
push 1
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x14], 8
jb 0x43bd83
mov eax, dword [eax]
push 0
push 0
push edi
push 1
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXSaveSurfaceToFileW]
mov dword [ebp - 0x5c], eax
mov dword [ebx + 0x20], 2
push str.JPEG...
lea ecx, [ebx + 0x24]
call fcn.004044d0
push str.Saving...
lea ecx, [ebx + 0x3c]
call fcn.004044d0
mov dword [ebx + 0x54], 0x64
push ebx
mov ecx, esi
call fcn.0043a2f0
push 1
push 0
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
add edi, edi
jbe 0x43bdf4
call dword [sym.imp.USER32.dll_UpdateWindow]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0043be70
wait
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x43bdf8
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea edi, [ebx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 4]
test eax, eax
je 0x43be19
add eax, 0xffffffff
mov dword [ebx + 4], eax
jne 0x43be19
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
push edi
call dword [0x47e0a4]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 8]
cmp dword [ebp - 0x5c], 0
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046c079
mov esp, ebp
pop ebp
ret 0xc