Function at 0x556c60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ad908
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x614040]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
push edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], 0
mov dword [eax], 0
mov eax, 0xf
mov word [esp + 0x2c], ax
mov eax, dword [ecx]
push edx
push ecx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x44], 1
call dword [eax + 0xc]
test eax, eax
jns 0x556cf0
mov eax, 0x80004005
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x18], eax
test eax, eax
je 0x556cd6
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], eax
lea ecx, [ebx + 0x14]
call fcn.004054d0
xor edi, edi
cmp dword [esp + 0x14], edi
jbe 0x556e39
lea ebx, [ebx]
call fcn.00414eab
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x556e8b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x556d80
push 0x104
lea ecx, [esp + 0x14]
call fcn.00402c20
mov esi, dword [esp + 0x10]
push 0x104
push esi
push edi
push dword [esp + 0x24]
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
push dword [esi - 8]
push esi
call fcn.00528e42
add esp, 8
test eax, eax
js 0x556e81
cmp eax, dword [esi - 8]
jg 0x556e81
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea ecx, [esp + 0x10]
call fcn.00589f40
test byte [ebx + 0xc], 1
je 0x556de5
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea esi, [ebx + 0x14]
test eax, eax
je 0x556de8
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00404290
jmp 0x556de8
lea esi, [ebx + 0x14]
test byte [ebx + 0xc], 2
je 0x556e08
push dword [esp + 0x10]
call dword [sym.imp.SHELL32.dll_PathIsExe]
test eax, eax
je 0x556e08
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00404290
mov dword [esp + 0x48], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x556e2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, dword [esp + 0x14]
jb 0x556d30
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x556e6a
mov edx, dword [ebp + 0x1c]
mov eax, dword [ecx]
push dword [edx]
lea edx, [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push dword [ebx + 8]
push ecx
call dword [eax + 0xc]
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x80070057
call fcn.00402740
push 0x80004005
call fcn.00402740
int3