Function at 0x411f80
Capabilities:
Get file attributes
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x46fa57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xae4
mov eax, dword [0x493790]
push ebx
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push ebp
push esi
push edi
push 0
push 9
mov esi, ecx
mov dword [esp + 0xaf8], eax
mov eax, dword [esi + 0xe0]
push 0x110a
push eax
call ebx
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
jne 0x411fde
mov ecx, dword [0x495278]
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov edi, edx
push edi
mov ecx, 0x4dee80
call fcn.00406470
mov eax, dword [eax*4 + 0x495278]
mov ecx, dword [eax + 0x24]
mov eax, dword [esp + 0xb04]
push 0x800
lea edx, [esp + 0x2f4]
push edx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.shell32.dll_DragQueryFileA]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0
jg 0x4120c0
mov ecx, 0x4dee80
mov dword [esi + 0x118], 0
call fcn.0040a330
mov eax, dword [esi + 0xe0]
push 0
push 9
push 0x110b
push eax
call ebx
mov ecx, dword [esi + 0xe0]
push edi
push 9
push 0x110b
push ecx
call ebx
mov edx, dword [esi + 0xe0]
push edi
push 2
push 0x1102
push edx
call ebx
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.user32.dll_GetParent]
push eax
call fcn.0045d0f0
mov ecx, dword [eax + 0x1c]
push 0
push 1
push 0x500
push ecx
call ebx
mov ecx, dword [esp + 0xaf4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xaf0]
xor eax, eax
call fcn.004475ee
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xaf0
ret 8
mov ebp, dword [esp + 0x20]
mov edi, edi
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xb04]
push 0x800
lea ecx, [esp + 0x2f4]
push ecx
push edx
push eax
call dword [sym.imp.shell32.dll_DragQueryFileA]
lea ecx, [esp + 0x2f0]
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
lea edx, [esp + 0xc4]
push edx
lea eax, [esp + 0x2f4]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp ebp, 1
mov ebx, eax
jne 0x4121f6
mov eax, dword [0x4dee70]
test eax, eax
jne 0x4121f6
cmp dword [0x4ad91c], ebp
jne 0x4121f6
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401990
push 4
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0xb04], 0
call fcn.0040f450
lea ecx, [esp + 0x28]
mov byte [esp + 0xafc], 1
call fcn.0040f530
mov edi, dword [esp + 0x28]
push 0x473c84
push edi
call fcn.00447da8
add esp, 8
test eax, eax
je 0x41257b
push 0x473ca8
push edi
call fcn.00447da8
add esp, 8
test eax, eax
je 0x41257b
push 0x473c8c
push edi
call fcn.00447da8
add esp, 8
test eax, eax
je 0x41257b
lea eax, [edi - 0x10]
mov byte [esp + 0xafc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4121cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0xafc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4121f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
mov ebp, dword [esp + 0xe4]
lea edx, [esp + 0x38]
mov dword [esp + 0x2c], eax
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x38], ecx
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
mov edi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
lea eax, [esp + 0x2f0]
push eax
call edi
test eax, eax
je 0x4123a1
push 0x473cc4
call edi
mov ecx, dword [esp + 0x14]
push ecx
push ecx
lea edx, [esp + 0xf8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00401990
push 0
mov ecx, 0x4dee80
call fcn.00407ab0
mov edi, eax
cmp edi, 0xffffffff
jle 0x412334
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.user32.dll_SetForegroundWindow]
push 0
lea ecx, [esp + 0x54]
call fcn.00418dd0
lea eax, [esp + 0xf0]
mov dword [esp + 0xafc], 2
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4122b0
sub eax, edx
push eax
lea ecx, [esp + 0xf4]
push ecx
lea ecx, [esp + 0xc8]
call fcn.00401800
lea ecx, [esp + 0x50]
call fcn.0045b776
mov dword [esi + 0x118], eax
sub eax, 0
je 0x412314
sub eax, 0x3e8
je 0x412314
sub eax, 3
je 0x412314
push ecx
lea edx, [esp + 0x2f4]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00401990
mov eax, dword [edi*4 + 0x495278]
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, esi
call fcn.00411120
lea ecx, [esp + 0x50]
mov dword [esp + 0xafc], 0xffffffff
call fcn.00418e00
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
jmp 0x412557
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x44]
push eax
push ecx
lea edx, [esp + 0xfc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00401990
mov ecx, 0x4dee80
call fcn.00407f20
mov ebp, dword [0x4dee9c]
push ecx
lea eax, [esp + 0x2f4]
mov ecx, esp
mov dword [esp + 0x14], esp
inc ebp
push eax
mov dword [0x4dee9c], ebp
call fcn.00401990
mov ecx, dword [0x4ad91c]
mov edx, dword [ecx*4 + 0x495274]
mov eax, dword [edx + 0x24]
push eax
mov ecx, esi
call fcn.00411120
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
jmp 0x412557
mov ecx, dword [esp + 0x14]
push ecx
push ecx
lea edx, [esp + 0xf8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00401990
push 1
mov ecx, 0x4dee80
call fcn.00407ab0
mov edi, eax
or ebx, 0xffffffff
cmp edi, ebx
jle 0x412501
mov eax, dword [esi + 0x118]
test eax, eax
je 0x4123f3
cmp eax, 0x3e7
jle 0x4124c8
cmp eax, 0x3e9
jg 0x4124c8
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.user32.dll_SetForegroundWindow]
push 0
lea ecx, [esp + 0x208]
call fcn.00414630
cmp dword [esp + 0x20], 1
setle cl
lea eax, [esp + 0xf0]
mov dword [esp + 0xafc], 3
mov byte [esp + 0x274], cl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412430
sub eax, edx
push eax
lea edx, [esp + 0xf4]
push edx
lea ecx, [esp + 0x280]
call fcn.00401800
lea eax, [esp + 0x2f0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412458
sub eax, edx
push eax
lea eax, [esp + 0x2f4]
push eax
lea ecx, [esp + 0x284]
call fcn.00401800
mov eax, dword [edi*4 + 0x4ae128]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x290], ecx
add eax, 0x18
lea edx, [esp + 0x40]
lea ecx, [esp + 0x204]
mov dword [esp + 0x280], eax
mov dword [esp + 0x294], ebp
mov dword [esp + 0x28c], edx
call fcn.0045b776
lea ecx, [esp + 0x204]
mov dword [esi + 0x118], eax
mov dword [esp + 0xafc], ebx
call fcn.004146d0
mov eax, dword [esi + 0x118]
sub eax, 0
je 0x412557
sub eax, 0x3e8
je 0x412557
sub eax, 3
je 0x412557
push ecx
lea eax, [esp + 0x2f4]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00401990
push edi
mov ecx, esi
call fcn.0040fcb0
jmp 0x412557
push ecx
lea edx, [esp + 0x2f4]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00401990
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xe8]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
push ecx
lea eax, [esp + 0x104]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov dword [esp + 0xb14], 4
call fcn.00401990
mov ecx, 0x4dee80
mov dword [esp + 0xb10], ebx
call fcn.004084f0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4120ba
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
jmp 0x41202a
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.user32.dll_GetParent]
push eax
call fcn.0045d0f0
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x2f0]
push edx
push 6
push 0x500
push eax
call dword [sym.imp.user32.dll_SendMessageA]
lea eax, [edi - 0x10]
mov byte [esp + 0xafc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4125cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0xafc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412091
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x412091