Function at 0x4340a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48cc8f
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4b5930]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4b5930]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xc4], edi
mov dword [esp + 0x1c], esi
jne 0x434160
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, vtable.CRgn.0
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc0], edi
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
push eax
push ecx
push edi
push edi
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0x20]
call fcn.00450278
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x20]
push 1
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov dword [esp + 0xc0], 0xffffffff
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x1c]
jmp 0x43444f
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x4c]
push 0xa
push 0xc
lea eax, [esp + 0xac]
push eax
push ecx
call fcn.00470d48
mov eax, dword [esp + 0x60]
push 0xa
push 0xc
lea edx, [esp + 0xbc]
push edx
push eax
call fcn.00470d48
add esp, 0x20
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], vtable.CRgn.0
mov dword [esp + 0xc0], 1
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edi, dword [sym.imp.GDI32.dll_CreateRectRgn]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
call edi
push eax
lea ecx, [esp + 0x18]
call fcn.00450278
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x5c]
push edx
push eax
call ebx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.0044fcdb
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], vtable.CRgn.0
mov byte [esp + 0xc0], 2
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push edx
call edi
push eax
lea ecx, [esp + 0x30]
call fcn.00450278
mov eax, dword [esp + 0x30]
push 3
push eax
mov eax, dword [esp + 0x20]
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
lea ecx, [esp + 0x7c]
call fcn.0044f9c0
push 0
mov byte [esp + 0xc4], 3
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x80]
call fcn.0044ffb1
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x434276
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x80]
push eax
push ecx
call fcn.004502fd
mov eax, dword [esi + 0xe4]
mov eax, dword [eax + 4]
lea edx, [esp + 0x8c]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x6c]
push ecx
push edx
call ebx
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x90]
cmp ecx, eax
mov dword [esp + 0x28], ecx
jl 0x4342c4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x94]
cmp ecx, eax
mov dword [esp + 0x24], ecx
jl 0x4342df
mov dword [esp + 0x24], eax
xor edi, edi
cmp dword [esp + 0x24], edi
jle 0x434400
xor esi, esi
xor ebx, ebx
cmp dword [esp + 0x28], esi
jle 0x4343ef
lea esp, [esp]
mov eax, dword [esp + 0x80]
push edi
push esi
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx + 0xd0]
jne 0x434383
cmp ebx, esi
jne 0x434325
add ebx, 1
jmp 0x434383
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], vtable.CRgn.0
lea edx, [edi + 1]
push edx
push esi
push edi
push ebx
mov byte [esp + 0xd0], 4
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0x40]
call fcn.00450278
mov eax, dword [esp + 0x40]
push 2
push eax
mov eax, dword [esp + 0x20]
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
mov byte [esp + 0xc0], 3
lea ecx, [esp + 0x3c]
lea ebx, [esi + 1]
mov dword [esp + 0x3c], vtable.CRgn.0
call fcn.00416e40
add esi, 1
cmp esi, dword [esp + 0x28]
jl 0x434300
cmp ebx, esi
je 0x4343ef
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], vtable.CRgn.0
lea ecx, [edi + 1]
push ecx
push esi
push edi
push ebx
mov byte [esp + 0xd0], 5
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0x38]
call fcn.00450278
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
push 2
push edx
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
mov byte [esp + 0xc0], 3
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], vtable.CRgn.0
call fcn.00416e40
add edi, 1
cmp edi, dword [esp + 0x24]
jl 0x4342eb
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x20]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc0], 2
call fcn.0045002b
mov byte [esp + 0xc0], 1
mov esi, vtable.CRgn.0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
call fcn.00416e40
mov dword [esp + 0xc0], 0xffffffff
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
call fcn.00416e40
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0046da06
mov esp, ebp
pop ebp
ret