Function at 0x467520
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x558518
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebp
push esi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
cmp dword [esp + 0x74], 0
je 0x467576
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov ecx, edi
call fcn.004f535b
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x60
ret 0x18
cmp dword [esp + 0x70], 0
je 0x4677b7
lea ecx, [esp + 0x78]
call fcn.0040fe70
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x14
jle 0x46759b
mov esi, 0x14
jmp 0x4675ab
lea ecx, [esp + 0x78]
call fcn.0040fe70
cdq
sub eax, edx
mov esi, eax
sar esi, 1
lea ecx, [esp + 0x78]
call fcn.00415ef0
sub eax, 5
cmp eax, 0x32
jle 0x4675c3
mov eax, 0x32
jmp 0x4675cf
lea ecx, [esp + 0x78]
call fcn.00415ef0
sub eax, 5
push esi
push eax
lea ecx, [esp + 0x30]
call fcn.0040fcd0
lea ecx, [esp + 0x30]
call fcn.004139f0
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.00410170
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x28]
push eax
sub eax, dword [esp + 0x30]
lea edx, [edx + ecx + 5]
push edx
sub eax, 4
add ecx, 5
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.00410170
lea ecx, [esp + 0x20]
call fcn.0040e200
mov ebp, vtable.CRgn.0
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 0
call fcn.0040e200
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x10]
call fcn.0040e200
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 2
call fcn.004139f0
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.004139f0
push esi
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
push 0
push 0xfffffffffffffffc
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], edx
lea esi, [esp + 0x30]
mov dword [eax + 0xc], ecx
call fcn.004673d0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], edx
lea esi, [esp + 0x28]
mov dword [eax + 0xc], ecx
call fcn.004673d0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], edx
lea esi, [esp + 0x20]
mov dword [eax + 0xc], ecx
call fcn.004673d0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov ecx, edi
call fcn.004f535b
push 2
lea ecx, [esp + 0x24]
call fcn.00410b40
push eax
lea ecx, [esp + 0x20]
call fcn.00410b40
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.GDI32.dll_CombineRgn]
push eax
push edx
call esi
push 3
lea ecx, [esp + 0x14]
call fcn.00410b40
push eax
mov ecx, edi
call fcn.00410b40
push eax
mov eax, dword [edi + 4]
push eax
call esi
mov byte [esp + 0x68], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
call fcn.0040e260
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.0040e260
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
call fcn.0040e260
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x60
ret 0x18
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov esi, edi
mov dword [eax + 0xc], edx
call fcn.004673d0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x60
ret 0x18