Function at 0x441490
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x508b5a
push eax
mov dword fs:[0], esp
push ebx
push ebp
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x28]
mov ecx, edi
lea ebp, [esi + 0x28]
mov dword [esi], 0x51617c
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov ebx, ebp
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], edx
xor edx, edx
mov dword [ecx + 0xc], eax
xor ecx, ecx
mov dword [ebx], ecx
mov al, byte [esp + 0x34]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov dword [ebx + 4], edx
cmp al, 0xff
mov byte [esi + 0x1c], al
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 4], ecx
jae 0x441624
push 0x10
call fcn.004e5c1a
add esp, 4
mov dword [esp + 0x34], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x441529
mov ecx, eax
call fcn.004ed8b9
jmp 0x44152b
xor eax, eax
push 8
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x20], eax
call fcn.004e5c1a
add esp, 4
cmp eax, ebx
je 0x44154f
mov dword [eax + 4], ebx
mov dword [eax], 0x510e10
jmp 0x441551
xor eax, eax
mov ebx, dword [esi + 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x441561
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.004ed970
mov ecx, dword [edi + 8]
mov edx, dword [edi]
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 4]
sub ecx, edx
mov edx, dword [esi + 8]
sub eax, ebx
mov ebx, dword [esi + 0x24]
mov edx, dword [edx + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.004eec57
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
test eax, eax
je 0x4415a6
mov eax, dword [eax + 4]
push eax
mov eax, dword [ecx + 4]
push eax
call fcn.004edae9
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov ebx, dword [edi]
mov edx, dword [esi + 8]
sub eax, ecx
mov ecx, dword [edi + 8]
sub ecx, ebx
mov ebx, dword [esi + 0x20]
test edx, edx
jne 0x4415cf
mov dword [esp + 0x34], edx
jmp 0x4415d6
mov edx, dword [edx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x10]
push 0xcc0020
push edx
mov edx, dword [edi]
push edx
mov edx, dword [esp + 0x40]
push edx
push eax
mov eax, dword [ebx + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, ebp
mov dword [ecx], edx
mov edx, dword [edi + 8]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x2c]
mov edx, dword [ebp]
neg ecx
neg edx
push ecx
push edx
push ebp
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x44167c
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], vtable.CRgn.0
push edi
mov dword [esp + 0x1c], 1
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0x28]
call fcn.004eec57
mov ecx, dword [esi + 8]
lea eax, [esp + 0x24]
push eax
call fcn.004ee041
lea ecx, [esp + 0x24]
call fcn.004eecae
mov dword [esp + 0x24], vtable.CGdiObject.0
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 2
call fcn.004eecae
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x1c