Function at 0x40a8d0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x439708
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov esi, ecx
call fcn.00430445
mov eax, dword [esi + 0x4a4]
test eax, eax
lea edi, [esi + 0x70]
je 0x40a90d
push eax
push edi
lea ecx, [esi + 0x98]
call fcn.00407ff0
jmp 0x40a92c
mov eax, dword [esi + 0x4a0]
mov ecx, dword [esi + 0x49c]
push 0xc8c8c8
push eax
push ecx
push edi
lea ecx, [esi + 0x98]
call fcn.00407f00
test al, al
jne 0x40a961
push str.ERROR_:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x43d2d4
push 0x43d344
mov ecx, esi
call fcn.0042c0d6
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [esi + 0x4dc]
test eax, eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDC]
je 0x40a9d3
mov edx, dword [esi + 0x1c]
push edx
call ebx
push eax
call fcn.004320ed
mov ecx, dword [esi + 0x4a0]
mov edx, dword [esi + 0x49c]
push 0xc8c8c8
push ecx
push edx
push eax
lea ecx, [esi + 0xc0]
call fcn.00407f00
test al, al
jne 0x40a9d3
push str.ERROR_:_Rendering_DDB
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x43d2d4
push 0x43d344
mov ecx, esi
call fcn.0042c0d6
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [esi + 0x1c]
push eax
call ebx
push eax
call fcn.004320ed
mov ecx, dword [esi + 0x4a0]
mov edx, dword [esi + 0x49c]
push 0xc8c8c8
push ecx
push edx
push eax
mov ecx, edi
call fcn.00407f00
test al, al
jne 0x40aa30
push 0x43d2e8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x43d2d4
push 0x43d344
mov ecx, esi
call fcn.0042c0d6
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push 0
push 0x820a0000
push 0xc00000
mov ecx, esi
call fcn.0042e8cb
push 0
push 0
push 1
mov ecx, esi
call fcn.0042e8f5
mov eax, dword [esi + 0x4a0]
mov ecx, dword [esi + 0x49c]
push 0xf
push 0xf
inc eax
push eax
inc ecx
push ecx
push 0
push 0
lea edi, [esi + 0x4ec]
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
mov ecx, edi
call fcn.004323f8
test edi, edi
je 0x40aa83
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x1c]
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x4a0]
mov eax, dword [esi + 0x49c]
add ecx, edi
push 1
add eax, edx
mov dword [esp + 0x20], ecx
sub ecx, edi
push ecx
mov dword [esp + 0x20], eax
sub eax, edx
push eax
push edi
push edx
mov ecx, esi
call fcn.0042e95b
mov eax, dword [esi + 0x4b4]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esi + 0x4e4]
call fcn.004323f8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
call fcn.0042a828
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.0042d360
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0040a680
mov eax, dword [esi + 0x4a8]
test eax, eax
je 0x40ab7c
call fcn.0043629f
mov edi, dword [esi + 0x4a8]
call fcn.0043629f
mov eax, dword [eax + 0xc]
movzx edx, di
push edx
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
mov dword [esi + 0x4e0], eax
mov eax, dword [esi + 0x1c]
push 0x80
push eax
call edi
mov eax, dword [esi + 0x4e0]
mov ecx, dword [esi + 0x1c]
push eax
push 0
push 0x80
push ecx
call edi
mov edx, dword [esi + 0x4f4]
lea ecx, [esi + 0x4f4]
push 0
push esi
call dword [edx + 0x130]
mov edi, dword [esi + 0x49c]
mov eax, dword [esi + 0x4d0]
sub edi, 4
test eax, eax
je 0x40abb4
mov eax, dword [esi]
sub edi, 0xc
push 4
push edi
mov ecx, esi
call dword [eax + 0x16c]
mov eax, dword [esi + 0x4cc]
test eax, eax
je 0x40abce
mov edx, dword [esi]
sub edi, 0xc
push 4
push edi
mov ecx, esi
call dword [edx + 0x164]
mov eax, dword [esi + 0x4c8]
test eax, eax
je 0x40abe8
mov eax, dword [esi]
sub edi, 0xc
push 4
push edi
mov ecx, esi
call dword [eax + 0x168]
mov eax, dword [esi + 0x4c4]
test eax, eax
je 0x40ac02
mov edx, dword [esi]
sub edi, 0xc
push 4
push edi
mov ecx, esi
call dword [edx + 0x160]
mov eax, dword [esi + 0x4d8]
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov ecx, esi
call fcn.0040a340
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esi + 0x560], 1
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ac47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop ebx
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret