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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x499708
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4ba700]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [ecx + 0x10a18]
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
lea esi, [eax*8]
sub esi, eax
mov eax, dword [ecx + 0xbc]
add esi, esi
add esi, esi
mov edx, dword [eax + esi + 8]
mov edi, dword [eax + esi + 0x10]
add eax, esi
sub edi, edx
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
sub eax, edx
mov dword [esp + 0x1c], edi
mov edi, dword [ecx + 0xdc50]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0xdc48]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xdc44]
mov ecx, dword [ecx + 0xdc4c]
sub edi, edx
push edi
sub ecx, eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ebx, [esp + 0x28]
lea edi, [esp + 0x2c]
call fcn.00425520
add esp, 0x10
test al, al
je case.0x42569e.16
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add ecx, ebx
lea eax, [edx + edi]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10a18]
mov ecx, dword [ecx + 0xbc]
mov ecx, dword [ecx + esi + 4]
add ecx, 0xfffffff5
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
cmp ecx, 7
ja case.0x42569e.16
movzx ecx, byte [ecx + 0x425914]
jmp dword [ecx*4 + 0x425908]
mov ecx, dword [eax + 0x10a18]
mov ecx, dword [ecx + 0xbc]
add ecx, esi
cmp byte [eax + 0x10a44], 0
mov esi, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ecx
jne 0x425881
test esi, esi
je 0x4256da
test ecx, ecx
jne 0x425881
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x10a18]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 0xdc48]
mov eax, dword [ecx + 0xdc44]
mov dword [esp + 0x20], edi
mov edi, dword [ecx + 0xdc50]
mov ecx, dword [ecx + 0xdc4c]
sub edi, edx
push edi
sub ecx, eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ebx, [esp + 0x44]
lea edi, [esp + 0x3c]
call fcn.00425520
add esp, 0x10
test al, al
je 0x425780
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add edx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
add eax, ecx
lea esi, [esp + 0x4c]
lea edi, [esp + 0x34]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
call fcn.00409590
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx]
push 2
push edx
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
mov esi, edi
call fcn.004095c0
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x10a18]
mov edx, dword [ecx + 0xdc48]
mov edi, dword [ecx + 0xdc50]
mov eax, dword [esp + 0x40]
add dword [esp + 0x14], eax
mov eax, dword [ecx + 0xdc44]
mov ecx, dword [ecx + 0xdc4c]
add dword [esp + 0x10], esi
sub edi, edx
push edi
sub ecx, eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ebx, [esp + 0x28]
lea edi, [esp + 0x2c]
call fcn.00425520
add esp, 0x10
test al, al
je case.0x42569e.16
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov edx, ecx
sub edx, esi
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x14]
mov edi, edx
sub edi, eax
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x1c]
sub edi, esi
add edi, ecx
mov ecx, dword [esp + 0x18]
sub ecx, eax
neg esi
mov dword [esp + 0x54], edi
add ecx, edx
mov dword [esp + 0x2c], esi
neg eax
lea esi, [esp + 0x4c]
lea edi, [esp + 0x44]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], eax
call fcn.00409590
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x44]
mov eax, dword [edx]
push 2
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
mov esi, edi
call fcn.004095c0
lea esi, [esp + 0x4c]
lea edi, [esp + 0x24]
call fcn.00409590
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x2c]
mov dword [esp + 0x68], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, edi
push eax
call edx
mov esi, edi
call fcn.004095c0
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 esi, [esp + 0x4c]
lea edi, [esp + 0x44]
call fcn.00409590
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov esi, dword [esp + 0x44]
push 2
push esi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x48]
push ecx
jmp 0x4258eb
push 0x4a3fbe
call fcn.0047d6d1
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
mov esi, eax
mov eax, dword [esp + 0x58]
push eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov ecx, dword [ebp + 0xc]
push 2
mov edi, eax
mov eax, dword [ecx]
push edi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call fcn.0047d643
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