Function at 0x40aa20
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x439a58
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov esi, ecx
call fcn.00430765
mov eax, dword [esi + 0x4a4]
test eax, eax
lea edi, [esi + 0x70]
je 0x40aa5d
push eax
push edi
lea ecx, [esi + 0x98]
call fcn.00408150
jmp 0x40aa7c
mov eax, dword [esi + 0x4a0]
mov ecx, dword [esi + 0x49c]
push 0xc8c8c8
push eax
push ecx
push edi
lea ecx, [esi + 0x98]
call fcn.00408060
test al, al
jne 0x40aab1
push str.ERROR_:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x43d30c
push 0x43d37c
mov ecx, esi
call fcn.0042c3f6
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 0x40ab23
mov edx, dword [esi + 0x1c]
push edx
call ebx
push eax
call fcn.0043240d
mov ecx, dword [esi + 0x4a0]
mov edx, dword [esi + 0x49c]
push 0xc8c8c8
push ecx
push edx
push eax
lea ecx, [esi + 0xc0]
call fcn.00408060
test al, al
jne 0x40ab23
push str.ERROR_:_Rendering_DDB
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x43d30c
push 0x43d37c
mov ecx, esi
call fcn.0042c3f6
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.0043240d
mov ecx, dword [esi + 0x4a0]
mov edx, dword [esi + 0x49c]
push 0xc8c8c8
push ecx
push edx
push eax
mov ecx, edi
call fcn.00408060
test al, al
jne 0x40ab80
push 0x43d320
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x43d30c
push 0x43d37c
mov ecx, esi
call fcn.0042c3f6
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.0042ebeb
push 0
push 0
push 1
mov ecx, esi
call fcn.0042ec15
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
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.0042ec7b
mov eax, dword [esi + 0x4b4]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esi + 0x4e4]
call fcn.00432718
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x158]
call fcn.0042ab48
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.0042d680
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0040a7d0
mov eax, dword [esi + 0x4a8]
test eax, eax
je 0x40ac8c
call fcn.004365bf
mov edi, dword [esi + 0x4a8]
call fcn.004365bf
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 0x40acc4
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 0x40acde
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 0x40acf8
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 0x40ad12
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.0040a490
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 0x40ad57
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