Function at 0x43ddd5
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push 0x3bc
mov eax, 0x50e6bc
call fcn.004f41e2
movaps xmm0, xmmword [0x532ae0]
xor esi, esi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3c4], ebx
mov dword [ebp - 0x3a8], edi
mov dword [ebp - 0x39c], esi
mov dword [ebp - 0x3a4], esi
mov dword [ebp - 0x3b0], esi
movups xmmword [ebp - 0x3c0], xmm0
push 0x190
lea eax, [ebp - 0x380]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x398], 0x14
call fcn.004f5a90
push 0xf0
lea eax, [ebp - 0x1f0]
push esi
push eax
call fcn.004f5a90
push 0x50
lea eax, [ebp - 0xb0]
push esi
push eax
call fcn.004f5a90
push 0x50
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.004f5a90
add esp, 0x30
lea ecx, [ebp - 0x3c0]
push 0x14
call fcn.004062e6
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
test edi, edi
je 0x43dca6
xor eax, eax
push eax
lea eax, [ebp - 0x3a0]
push eax
push 2
push 0x532274
push edi
call esi
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a4]
push ecx
push 1
push ebx
call dword [eax + 0x20]
test eax, eax
jne 0x43e3b4
mov eax, dword [ebp - 0x3a4]
lea edx, [ebp - 0x398]
push edx
lea edx, [ebp - 0x380]
push edx
push dword [ebp - 0x398]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ebx, dword [ebp - 0x3b0]
test edi, edi
je 0x43dd25
push dword [ebp - 0x398]
push str.Drag_object_contains__i_formats_n_n
push ebx
call fcn.004064f7
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x39c]
jne 0x43dd00
xor eax, eax
sub ecx, edx
push eax
sar ecx, 1
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ecx + ecx]
push eax
push ebx
push edi
call esi
mov eax, dword [ebp - 0x3a4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push str.Shell_IDList_Array
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
movzx eax, ax
xor edx, edx
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x38c], edx
test eax, eax
je 0x43e363
lea ecx, [ebp - 0x380]
mov dword [ebp - 0x390], edx
mov esi, ebx
mov dword [ebp - 0x394], ecx
lea edi, [ebp - 0x1ec]
mov dword [ebp - 0x3ac], esi
mov dword [ebp - 0x388], edi
jmp 0x43dd89
mov ebx, dword [ebp - 0x3b0]
xor eax, eax
push 0x104
mov word [esi], ax
movzx eax, word [ecx]
push esi
push eax
call dword [sym.imp.USER32.dll_GetClipboardFormatNameW]
test eax, eax
jne 0x43deba
mov eax, dword [ebp - 0x394]
mov edx, 0x80
movzx eax, word [eax]
mov ecx, eax
cmp ecx, edx
ja 0x43de6e
je 0x43de67
dec eax
cmp eax, 0x10
ja case.default.0x43ddce
jmp dword [eax*4 + 0x43e3d5]
push str.CF_TEXT
jmp 0x43deaf
push str.CF_BITMAP
jmp 0x43deaf
push str.CF_METAFILEPICT
jmp 0x43deaf
push str.CF_SYLK
jmp 0x43deaf
push str.CF_DIF
jmp 0x43deaf
push str.CF_TIFF
jmp 0x43deaf
push str.CF_OEMTEXT
jmp 0x43deaf
push str.CF_DIB
jmp 0x43deaf
push str.CF_PALETTE
jmp 0x43deaf
push str.CF_PENDATA
jmp 0x43deaf
push str.CF_RIFF
jmp 0x43deaf
push str.CF_WAVE
jmp 0x43deaf
push str.CF_UNICODETEXT
jmp 0x43deaf
push str.CF_ENHMETAFILE
jmp 0x43deaf
push str.CF_HDROP
jmp 0x43deaf
push str.CF_LOCALE
jmp 0x43deaf
push str.CF_DIBV5
jmp 0x43deaf
push str.CF_OWNERDISPLAY
jmp 0x43deaf
sub eax, 0x81
je 0x43deaa
sub eax, 1
je 0x43dea3
sub eax, 1
je 0x43de9c
sub eax, 0xb
je 0x43de95
push ecx
push str.ClipFormatID_i
push esi
call fcn.004064f7
add esp, 0xc
jmp 0x43deba
push str.CF_DSPENHMETAFILE
jmp 0x43deaf
push str.CF_DSPMETAFILEPICT
jmp 0x43deaf
push str.CF_DSPBITMAP
jmp 0x43deaf
push str.CF_DSPTEXT
push 0x208
push esi
call fcn.00401a0b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x39c]
jne 0x43debf
mov eax, dword [ebp - 0x394]
sub ecx, edx
sar ecx, 1
push dword [eax + 0x10]
mov eax, 0x208
sub eax, ecx
push str.__tymed0x_02X
push eax
mov eax, dword [ebp - 0x390]
add eax, ecx
lea eax, [ebx + eax*2]
push eax
call fcn.004e22e7
mov ecx, dword [ebp - 0x3c4]
add esp, 0x10
mov edx, dword [ebp - 0x394]
add edi, 0xfffffffc
xor eax, eax
mov dword [ebp - 0x384], eax
push edi
mov dword [edi], eax
mov eax, dword [ecx]
push edx
push ecx
mov dword [edx + 0x10], 1
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x43e246
cmp dword [edi], 1
jne 0x43e18a
mov edi, dword [ebp - 0x388]
cmp dword [edi], eax
je 0x43e0b3
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x38c]
mov ebx, eax
mov dword [ebp + ecx*4 - 0xb0], ebx
test ebx, ebx
je 0x43e178
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, esi
mov edi, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x39c]
jne 0x43df73
sub ecx, edx
mov eax, 0x208
sar ecx, 1
sub eax, ecx
push edi
push str.__DataSize_i
push eax
mov eax, dword [ebp - 0x390]
add eax, ecx
mov ecx, dword [ebp - 0x3b0]
lea eax, [ecx + eax*2]
push eax
call fcn.004e22e7
add esp, 0x10
cmp edi, 1
jne 0x43dfd0
mov ecx, esi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x43dfba
movzx eax, byte [ebx]
push eax
push str.__Data0x_02X
jmp 0x43dfee
cmp edi, 4
jne 0x43e016
mov ecx, esi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x43dfdc
push dword [ebx]
push str.__Data0x_08X
sub ecx, edx
mov eax, 0x208
sar ecx, 1
sub eax, ecx
push eax
mov eax, dword [ebp - 0x390]
add eax, ecx
mov ecx, dword [ebp - 0x3b0]
lea eax, [ecx + eax*2]
push eax
call fcn.004e22e7
add esp, 0x10
jmp 0x43e05d
cmp edi, 8
jne 0x43e061
mov ecx, esi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x43e022
push dword [ebx + 4]
sub ecx, edx
mov eax, 0x208
push dword [ebx]
sar ecx, 1
sub eax, ecx
push str.__Data0x_08X_08X
push eax
mov eax, dword [ebp - 0x390]
add eax, ecx
mov ecx, dword [ebp - 0x3b0]
lea eax, [ecx + eax*2]
push eax
call fcn.004e22e7
add esp, 0x14
mov ebx, edi
jmp 0x43e0b9
push 0x524e60
push 0x208
push esi
call fcn.004019cd
lea eax, [edi*2 + 2]
push 1
push eax
mov dword [ebp - 0x384], eax
call fcn.004e1c42
cmp byte [ebx], 0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38c]
mov dword [ebp + ecx*4 - 0x60], eax
je 0x43e15d
cmp byte [ebx + 1], 0
je 0x43e15d
push edi
push eax
push edi
push ebx
xor eax, eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, dword [ebp - 0x384]
push 0x524514
push 0x208
push esi
call fcn.004019cd
mov edi, dword [ebp - 0x3a8]
test edi, edi
je 0x43e28b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x39c]
jne 0x43e0dc
xor eax, eax
sub ecx, edx
push eax
sar ecx, 1
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ecx + ecx]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test ebx, ebx
je 0x43e140
mov eax, dword [ebp - 0x38c]
mov eax, dword [ebp + eax*4 - 0x60]
test eax, eax
je 0x43e140
xor ecx, ecx
push ecx
lea ecx, [ebp - 0x3a0]
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push edi
call ebx
xor eax, eax
push eax
lea eax, [ebp - 0x3a0]
push eax
push 2
push 0x524514
push edi
call ebx
xor eax, eax
push eax
lea eax, [ebp - 0x3a0]
push eax
push 2
push 0x524514
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x43e2b0
mov ecx, dword [ebp - 0x384]
push ebx
push ecx
push eax
call fcn.0043f277
mov ebx, edi
and ebx, 0xfffffffe
add ebx, 2
jmp 0x43e0b9
push str.__hGlobal_not_available
push 0x208
push esi
call fcn.004019cd
jmp 0x43e1e8
cmp dword [edi], 2
jne 0x43e196
push str.__Error_in_source__TYMED_HGLOBAL_was_requested__but_got_TYMED_FILE
jmp 0x43e1d0
cmp dword [edi], 4
jne 0x43e1a2
push str.__Error_in_source__TYMED_HGLOBAL_was_requested__but_got_TYMED_ISTREAM
jmp 0x43e1d0
cmp dword [edi], 8
jne 0x43e1ae
push str.__Error_in_source__TYMED_HGLOBAL_was_requested__but_got_TYMED_ISTORAGE
jmp 0x43e1d0
cmp dword [edi], 0x10
jne 0x43e1ba
push str.__Error_in_source__TYMED_HGLOBAL_was_requested__but_got_TYMED_GDI
jmp 0x43e1d0
cmp dword [edi], 0x20
jne 0x43e1c6
push str.__Error_in_source__TYMED_HGLOBAL_was_requested__but_got_TYMED_MFPICT
jmp 0x43e1d0
cmp dword [edi], 0x40
jne 0x43e1f3
push str.__Error_in_source__TYMED_HGLOBAL_was_requested__but_got_TYMED_ENHMF
push 0x208
push esi
call fcn.004019cd
push edi
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov edi, dword [ebp - 0x388]
xor eax, eax
mov dword [edi], eax
mov ebx, eax
jmp 0x43e0b9
mov ecx, esi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43e1fa
push dword [edi]
sub ecx, edx
mov eax, 0x208
sar ecx, 1
sub eax, ecx
push str.__Error_in_source__TYMED_HGLOBAL_was_requested__but_got___i_
push eax
mov eax, dword [ebp - 0x390]
add eax, ecx
mov ecx, dword [ebp - 0x3b0]
lea eax, [ecx + eax*2]
push eax
call fcn.004e22e7
add esp, 0x10
push edi
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov edi, dword [ebp - 0x388]
mov dword [edi], ebx
jmp 0x43e0b9
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x39c]
jne 0x43e24b
sub ecx, edx
mov eax, 0x208
sar ecx, 1
sub eax, ecx
push ebx
push str.__Cant_get_TYMED_HGLOBAL__rc0x_08X
push eax
mov eax, dword [ebp - 0x390]
add eax, ecx
mov ecx, dword [ebp - 0x3b0]
lea eax, [ecx + eax*2]
push eax
call fcn.004e22e7
add esp, 0x10
jmp 0x43e1db
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call edi
test ebx, ebx
je 0x43e2b0
mov ecx, dword [ebp - 0x38c]
mov eax, dword [ebp + ecx*4 - 0x60]
test eax, eax
je 0x43e2b6
push eax
call edi
push 0x524514
call edi
mov ecx, dword [ebp - 0x38c]
mov ebx, dword [ebp - 0x394]
mov eax, dword [ebp - 0x3c8]
cmp word [ebx], ax
jne 0x43e316
mov edi, dword [ebp + ecx*4 - 0xb0]
test edi, edi
je 0x43e316
mov eax, dword [edi + 4]
push dword [ebp - 0x3a8]
add eax, edi
push eax
call fcn.0043d0e0
xor edx, edx
pop ecx
pop ecx
cmp dword [edi], edx
jbe 0x43e318
lea ebx, [edi + 8]
mov esi, edx
mov eax, dword [ebx]
push dword [ebp - 0x3a8]
add eax, edi
push eax
call fcn.0043d0e0
inc esi
lea ebx, [ebx + 4]
pop ecx
pop ecx
cmp esi, dword [edi]
jb 0x43e2f0
mov esi, dword [ebp - 0x3ac]
mov ebx, dword [ebp - 0x394]
xor edx, edx
mov ecx, dword [ebp - 0x38c]
add ebx, 0x14
mov edi, dword [ebp - 0x388]
inc ecx
add dword [ebp - 0x390], 0x208
add edi, 0xc
mov eax, dword [ebp - 0x398]
add esi, 0x410
mov dword [ebp - 0x38c], ecx
cmp ecx, eax
mov dword [ebp - 0x388], edi
mov ecx, ebx
mov dword [ebp - 0x3ac], esi
mov dword [ebp - 0x394], ebx
jb 0x43dd83
mov esi, edx
test eax, eax
je 0x43e3b4
lea edi, [ebp - 0x1f0]
cmp dword [ebp + esi*4 - 0xb0], edx
je 0x43e394
cmp dword [edi + 4], 0
je 0x43e394
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp + esi*4 - 0x60]
test ecx, ecx
je 0x43e3a9
push ecx
call fcn.004e1bea
mov eax, dword [ebp - 0x398]
pop ecx
inc esi
add edi, 0xc
push 0
pop edx
cmp esi, eax
jb 0x43e36f
mov eax, dword [ebp - 0x3b0]
mov dword [ebp - 4], 2
test eax, eax
je 0x43e3cc
push eax
call fcn.004e1bea
pop ecx
call fcn.004f418c
ret 8