Function at 0x4417f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cece8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4f5568]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x38], eax
mov esi, dword [eax + 0x10a2c]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
movdqu xmmword [esp + 0x4c], xmm0
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0xcc]
mov edi, dword [eax + edx*4 + 8]
lea eax, [eax + edx*4]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
sub edx, edi
mov ebx, dword [eax + 0xc]
sub ecx, ebx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xdc3c]
mov esi, dword [esi + 0xdc38]
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], esi
test edi, edi
jns 0x44188b
add edx, edi
xor edi, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], edi
test ebx, ebx
jns 0x441897
add ecx, ebx
xor ebx, ebx
mov dword [esp + 0x18], ecx
lea eax, [edx + edi]
cmp eax, esi
jle 0x4418a6
mov edx, esi
sub edx, edi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x1c]
lea eax, [ecx + ebx]
cmp eax, esi
jle 0x4418b9
mov ecx, esi
sub ecx, ebx
mov dword [esp + 0x18], ecx
test edx, edx
jle case.0x4418f9.16
test ecx, ecx
jle case.0x4418f9.16
mov esi, dword [esp + 0x30]
lea eax, [edx + edi]
mov dword [esp + 0x54], eax
lea eax, [ecx + ebx]
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], edi
mov eax, dword [esi + 4]
add eax, 0xfffffff5
mov dword [esp + 0x50], ebx
cmp eax, 7
ja case.0x4418f9.16
movzx eax, byte [eax + 0x441b44]
jmp dword [eax*4 + 0x441b38]
mov eax, dword [esi + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x44], eax
cmp byte [esi + 0x10a58], 0
jne 0x441aaf
mov esi, dword [esp + 0x34]
test esi, esi
je 0x44192f
test eax, eax
jne 0x441aaf
push dword [esp + 0x1c]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ecx
push dword [esp + 0x40]
mov dword [esp + 0x38], edx
lea ecx, [esp + 0x28]
push 0
push 0
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x34], edi
push eax
lea edx, [esp + 0x40]
mov dword [esp + 0x40], ebx
call fcn.00441770
add esp, 0x18
test al, al
je 0x4419b7
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], edx
push eax
call fcn.00420160
mov ecx, dword [ebp + 0xc]
push 2
push dword [esp + 0x40]
mov eax, dword [ecx]
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
lea ecx, [esp + 0x3c]
call fcn.004201a0
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x30]
add edi, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x44]
add ebx, edi
mov eax, dword [eax + 0x10a2c]
mov dword [esp + 0x30], ebx
push dword [eax + 0xdc3c]
push dword [eax + 0xdc38]
lea eax, [esp + 0x20]
push 0
push 0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00441770
add esp, 0x18
test al, al
je case.0x4418f9.16
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x44]
sub eax, esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
sub eax, edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
sub eax, esi
neg esi
add eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
sub eax, edi
mov dword [esp + 0x28], esi
add eax, dword [esp + 0x30]
neg edi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x30], edi
call fcn.00420160
mov ecx, dword [ebp + 0xc]
push 2
push dword [esp + 0x48]
mov eax, dword [ecx]
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
lea ecx, [esp + 0x44]
call fcn.004201a0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x24]
call fcn.00420160
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x28]
mov dword [esp + 0x68], 0
push edx
lea edx, [esp + 0x24]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
lea ecx, [esp + 0x20]
call fcn.004201a0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x48]
call fcn.00420160
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x44]
push 2
push esi
mov eax, dword [eax]
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x48]
jmp 0x441b1a
push 0x4d9f42
call fcn.004aec27
add esp, 4
mov edi, eax
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ecx, dword [ebp + 0xc]
mov esi, eax
push 2
push esi
mov ecx, dword [ecx]
push ecx
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call fcn.004ae337
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc