Function at 0x433990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x480054]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
not eax
mov dword [ebp - 0x98], 0
push edi
mov edi, ecx
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp + 0xc]
mov eax, ecx
imul eax, esi
movlpd qword [ebp - 0x90], xmm0
movups xmmword [edi + 0x24], xmm0
mov dword [ebp - 0x80], 0
movq qword [ebp - 0x88], xmm0
shl eax, 2
mov dword [ebp - 0xa8], 0x28
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x9c], 0x200001
mov dword [ebp - 0x94], eax
mov dword [edi + 0x34], 0
test edx, edx
jne 0x433a51
mov edx, dword [edi + 4]
test edx, edx
jne 0x433a51
push edi
lea eax, [ebp - 0x7c]
push str.Fatal_error:_read_write_at_0x_08x._At_function_newimage__construct_PIMAGE_before_initgraph_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push 0x10
push str.ERROR_message
push eax
mov eax, dword [0x48577c]
push dword [eax + 0x5c]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ebx, dword [edi + 4]
test ebx, ebx
jne 0x433a69
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x433bf5
push 0
push 0
lea eax, [ebp - 0xb4]
push eax
push 0
lea eax, [ebp - 0xa8]
push eax
push 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x433bd1
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
xor edx, edx
mov dword [ebp - 0xac], eax
cmp dword [0x4857f8], edx
jne 0x433adf
mov esi, dword [sym.imp.GDI32.dll_GetCurrentObject]
push 2
push ebx
mov dword [0x4857f8], eax
call esi
push 1
push ebx
mov dword [0x4857fc], eax
call esi
push 6
push ebx
mov dword [0x485800], eax
call esi
mov esi, dword [ebp + 0x10]
xor edx, edx
mov dword [0x485804], eax
mov eax, dword [ebp - 0xac]
cmp dword [edi + 4], 0
je 0x433af6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
mov edx, 1
jmp 0x433b14
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 1
mov ecx, dword [ebp - 0xb0]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0xb4]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], eax
test edx, edx
jne 0x433ba2
push edi
push 0xa8a8a8
call fcn.00430930
push edi
push 0
call fcn.004307e0
add esp, 0x10
push 2
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push edi
push 0
push 1
call fcn.00430b00
push edi
push 1
push 0
push 0
call fcn.00430cb0
push edi
push 2
push 0
call fcn.00430f40
add esp, 0x28
cmp edi, 0x20
jae 0x433b94
mov eax, dword [0x48577c]
mov ecx, edi
and ecx, 0xf
mov eax, dword [eax + ecx*4 + 0x24]
mov byte [eax + 0x20], 0
mov esi, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
jmp 0x433ba5
mov eax, edi
mov byte [eax + 0x20], 0
mov esi, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
jmp 0x433ba5
mov eax, dword [ebp + 0xc]
push edi
push 1
push esi
push eax
push 0
push 0
call fcn.00430f80
push edi
call fcn.0042f580
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 0xc