Function at 0x4096f0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4186b1
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x421040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x3d0]
mov edi, 1
push eax
mov dword [ebp - 0x3dc], edi
lea eax, [ebp - 0xc0]
xorps xmm0, xmm0
mov dword [ebp - 0xb0], 0
push eax
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x3d0], 0x1f
call fcn.004012f0
movups xmm0, xmmword [str.C:GamesFreelancer]
mov ecx, dword [ebp - 0x3d0]
mov edx, eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xb0], 0x13
movups xmmword [edx], xmm0
mov cx, word [0x4193e0]
mov word [edx + 0x10], cx
mov al, byte [0x4193e2]
mov byte [edx + 0x12], al
mov byte [edx + 0x13], 0
lea eax, [ebp - 0x3d0]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
push eax
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x3d0], 0x1f
call fcn.004012f0
movups xmm0, xmmword [str.C:GamesFreelancer_copy]
mov ecx, dword [ebp - 0x3d0]
add esp, 0x10
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x68], 0x18
mov dword [ebp - 0x64], ecx
movups xmmword [eax], xmm0
movq xmm0, qword [0x4193f4]
movq qword [eax + 0x10], xmm0
mov byte [eax + 0x18], 0
push 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xf0]
call section..text
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.wine_get_version
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x404], eax
lea ecx, [ebp - 0x108]
push 0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 3
push eax
call section..text
xor eax, eax
xor esi, esi
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x3d0], esi
mov dword [ebp - 0x408], esi
push esi
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x3cc]
call fcn.00402830
cmp byte [ebp - 0x160], 0
mov byte [ebp - 4], 6
je 0x40992c
push 0x68
call fcn.0040b3fc
add esp, 4
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x3d8], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x40990a
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], esi
lea esi, [eax + 0x10]
mov dword [eax + 4], edi
mov ecx, esi
mov dword [eax + 8], edi
mov dword [eax], vtable.std::_Ref_count_obj2_struct_std::filesystem::_Recursive_dir_enum_impl_.0
lea eax, [ebp - 0x3cc]
push 0
push eax
call fcn.004028d0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov byte [esi + 0x50], 1
mov esi, dword [ebp - 0x3d0]
jmp 0x409912
xor esi, esi
mov dword [ebp - 0x3d0], esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x408], esi
mov edi, 0x4001
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x40c], eax
mov esi, dword [ebp - 0x15c]
lea ecx, [ebp - 0x3cc]
mov byte [ebp - 4], 5
call fcn.004034b0
test esi, esi
jne 0x40a62f
lea ecx, [ebp - 0x108]
call fcn.00403330
mov ecx, dword [ebp - 0x3d0]
test ecx, ecx
je 0x409962
lock inc dword [ecx + 4]
mov eax, dword [ebp - 0x3d4]
mov esi, ecx
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x3fc], esi
test ecx, ecx
je 0x40997e
lock inc dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x428], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
test ecx, ecx
je 0x4099cc
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4099c6
mov eax, dword [ecx]
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x3d0]
lock xadd dword [ecx + 8], eax
jne 0x4099c6
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3d4]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x40a4bb
push 3
lea ecx, [ebp - 0x434]
push ecx
mov ecx, eax
call fcn.00404db0
mov ecx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x434]
test ecx, ecx
je 0x409a06
cmp eax, 1
je 0x409a06
cmp eax, 9
jne 0x40a641
cmp eax, 3
je 0x40a48d
cmp dword [ebp - 0xac], 0xf
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0xb0]
mov dword [ebp - 0x3f0], eax
lea eax, [ebp - 0xc0]
cmova eax, dword [ebp - 0xc0]
mov dword [ebp - 0x3e4], eax
mov dword [ebp - 0x3e0], esi
call fcn.0040aa86
mov dword [ebp - 0x3d8], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 0xc
xor ecx, ecx
mov dword [ebp - 0x1c], 0
or edi, 0x10
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x3dc], edi
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], cx
test esi, esi
je 0x409af2
cmp esi, 0x7fffffff
ja 0x40a656
push ecx
push ecx
push esi
push dword [ebp - 0x3e4]
push eax
call fcn.0040aaa3
mov esi, eax
test edx, edx
jne 0x40a65d
mov ecx, dword [ebp - 0x1c]
cmp esi, ecx
ja 0x409ab7
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmova eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax + esi*2], cx
jmp 0x409ac6
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.00405d00
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push esi
cmova eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x3e0]
push dword [ebp - 0x3e4]
push dword [ebp - 0x3d8]
call fcn.0040aaa3
test edx, edx
jne 0x40a663
and edi, 0xffffffef
mov dword [ebp - 4], 0xb
or edi, 0xc
mov eax, dword [ebp - 0x3d4]
lea ecx, [ebp - 0x108]
add eax, 0x20
mov byte [ebp - 4], 0xd
push eax
call fcn.00402780
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00408a20
add esp, 8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00408a20
add esp, 8
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x120]
call fcn.004071b0
mov ecx, dword [ebp - 0x144]
or edi, 0x20
mov byte [ebp - 4], 0xf
cmp ecx, 7
jbe 0x409bad
mov edx, dword [ebp - 0x158]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409ba3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a669
push ecx
push edx
call fcn.0040b42c
add esp, 8
mov ecx, dword [ebp - 0x10c]
xor eax, eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
mov byte [ebp - 4], 0xe
cmp ecx, 7
jbe 0x409c0e
mov edx, dword [ebp - 0x120]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409c04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a669
push ecx
push edx
call fcn.0040b42c
add esp, 8
mov ecx, dword [ebp - 0xf4]
mov byte [ebp - 4], 0x12
cmp ecx, 7
jbe 0x409c52
mov edx, dword [ebp - 0x108]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409c48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a66e
push ecx
push edx
call fcn.0040b42c
add esp, 8
xor eax, eax
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x13
cmp ecx, 7
jbe 0x409cad
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409ca3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a66e
push ecx
push edx
call fcn.0040b42c
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0xc4], 7
lea ecx, [ebp - 0xd8]
mov word [ebp - 0x2c], ax
cmova ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x3d8], ecx
lea esi, [ecx + eax*2]
push esi
push ecx
call fcn.00404ca0
add esp, 8
cmp eax, esi
je 0x409d45
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x409cff
cmp ecx, 0x2f
jne 0x409d06
add eax, 2
cmp eax, esi
jne 0x409cf2
cmp eax, esi
je 0x409d45
nop word [eax + eax]
movzx ecx, word [esi - 2]
cmp ecx, 0x5c
je 0x409d27
cmp ecx, 0x2f
je 0x409d27
add esi, 0xfffffffe
cmp eax, esi
jne 0x409d10
jmp 0x409d45
cmp eax, esi
je 0x409d45
nop dword [eax + eax]
movzx ecx, word [esi - 2]
cmp ecx, 0x5c
je 0x409d3e
cmp ecx, 0x2f
jne 0x409d45
add esi, 0xfffffffe
cmp eax, esi
jne 0x409d30
mov eax, dword [ebp - 0x3d8]
lea ecx, [ebp - 0x90]
sub esi, eax
mov dword [ebp - 0x80], 0
sar esi, 1
xorps xmm0, xmm0
push esi
push eax
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0
call fcn.00401440
or edi, 0x1c0
cmp dword [ebp - 0x64], 0xf
lea eax, [ebp - 0x44]
mov dword [ebp - 0x3f0], eax
lea eax, [ebp - 0x78]
cmova eax, dword [ebp - 0x78]
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x3e4], eax
call fcn.0040aa86
mov ecx, eax
mov dword [ebp - 0x3d8], ecx
xor eax, eax
mov byte [ebp - 4], 0x15
xorps xmm0, xmm0
mov dword [ebp - 0x30], 7
movups xmmword [ebp - 0x44], xmm0
xor esi, esi
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x3e4]
or edi, 0x800
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x3dc], edi
test eax, eax
je 0x409e61
cmp eax, 0x7fffffff
ja 0x40a673
push esi
push esi
push eax
push dword [ebp - 0x3e0]
push ecx
call fcn.0040aaa3
mov esi, eax
test edx, edx
jne 0x40a67a
mov ecx, dword [ebp - 0x34]
cmp esi, ecx
ja 0x409e22
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], esi
cmova eax, dword [ebp - 0x44]
xor ecx, ecx
mov word [eax + esi*2], cx
jmp 0x409e31
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x44]
push 0
push eax
call fcn.00405d00
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
push esi
cmova eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x3e4]
push eax
push dword [ebp - 0x3e0]
push dword [ebp - 0x3d8]
call fcn.0040aaa3
test edx, edx
jne 0x40a680
mov esi, dword [ebp - 0x34]
and edi, 0xfffff7ff
mov dword [ebp - 4], 0x14
or edi, 0x600
cmp dword [ebp - 0x7c], 7
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x80]
cmova ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x3e0], ecx
lea eax, [edx + edx]
test edx, edx
je 0x409f77
and eax, 0xfffffffe
cmp eax, 4
jl 0x409eb8
mov eax, dword [ecx]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jb 0x409f77
movzx eax, word [ecx]
cmp eax, 0x5c
je 0x409f77
cmp eax, 0x2f
je 0x409f77
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
mov dword [ebp - 0x3d8], eax
lea ecx, [eax + esi*2]
cmp esi, 2
jne 0x409ef5
mov eax, dword [eax]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jb 0x409f10
test esi, esi
je 0x409f10
movzx eax, word [ecx - 2]
mov ecx, 0x41928e
push eax
call fcn.00403850
test al, al
jne 0x409f10
mov dl, 1
jmp 0x409f12
xor dl, dl
movzx ecx, dl
xorps xmm0, xmm0
add ecx, esi
mov dword [ebp - 0x4c], 0
add ecx, dword [ebp - 0x80]
xor eax, eax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x3d8]
sub esp, 0x14
mov dword [ebp - 0x28], eax
or edi, 1
mov eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x1c], eax
mov eax, esp
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x24], esi
movups xmm0, xmmword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x17
movups xmmword [eax], xmm0
mov dword [ebp - 0x3dc], edi
mov dword [eax + 0x10], edx
call fcn.00401a40
jmp 0x409f9f
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402780
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x18
or edi, 2
lea ecx, [ebp - 0x5c]
push eax
mov dword [ebp - 0x3dc], edi
call fcn.00403870
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 0x1a
cmp ecx, 7
jbe 0x409fe0
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409fd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a686
push ecx
push edx
call fcn.0040b42c
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 0x1b
cmp ecx, 7
jbe 0x40a035
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a02b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a686
push ecx
push edx
call fcn.0040b42c
add esp, 8
xor eax, eax
mov dword [ebp - 0x80], 0
cmp dword [ebp - 0x48], 7
lea ecx, [ebp - 0x128]
push 0xffffffffffffffff
mov word [ebp - 0x90], ax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push 3
push ecx
push eax
mov dword [ebp - 0x7c], 7
call fcn.0040aeb6
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x418], eax
push ecx
push eax
lea ecx, [ebp - 0x420]
call fcn.00405540
mov ecx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x420]
test ecx, ecx
je 0x40a0a5
cmp eax, 1
je 0x40a0a5
cmp eax, 9
jne 0x40a68b
cmp eax, 3
je 0x40a0de
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x3f8], 0
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x3f4], 0x421008
push eax
call fcn.00406420
add esp, 8
cmp dword [ebp - 0x3f8], 0
jne 0x40a69a
cmp dword [ebp - 0xc4], 7
lea esi, [ebp - 0xd8]
mov ecx, dword [ebp - 0xc8]
cmova esi, dword [ebp - 0xd8]
lea eax, [ecx + ecx]
test ecx, ecx
je 0x40a1f8
and eax, 0xfffffffe
cmp eax, 4
jl 0x40a11e
mov eax, dword [esi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jb 0x40a1f8
movzx eax, word [esi]
cmp eax, 0x5c
je 0x40a1f8
cmp eax, 0x2f
je 0x40a1f8
cmp dword [ebp - 0xdc], 7
lea edi, [ebp - 0xf0]
mov ecx, dword [ebp - 0xe0]
cmova edi, dword [ebp - 0xf0]
cmp ecx, 2
jne 0x40a161
mov eax, dword [edi]
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jb 0x40a17d
test ecx, ecx
je 0x40a17d
movzx eax, word [edi + ecx*2 - 2]
mov ecx, 0x41928e
push eax
call fcn.00403850
test al, al
jne 0x40a17d
mov dl, 1
jmp 0x40a17f
xor dl, dl
movzx ecx, dl
xorps xmm0, xmm0
add ecx, dword [ebp - 0xe0]
xor eax, eax
add ecx, dword [ebp - 0xc8]
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0xe0]
sub esp, 0x14
mov dword [ebp - 0x24], eax
mov eax, esp
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], esi
movups xmm0, xmmword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x1c
movups xmmword [eax], xmm0
mov dword [ebp - 0x3dc], 0x1000
mov dword [eax + 0x10], edx
call fcn.00401a40
jmp 0x40a22a
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00402780
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x3dc], 0x2000
call fcn.00403870
mov dword [ebp - 4], 0x1b
xor edi, edi
mov eax, dword [ebp - 0x3d4]
lea ecx, [ebp - 0x120]
add eax, 0x20
mov byte [ebp - 4], 0x1e
xorps xmm0, xmm0
mov dword [ebp - 0x3ec], edi
push eax
mov dword [ebp - 0x3e8], 0x421008
movups xmmword [ebp - 0x140], xmm0
movups xmmword [ebp - 0x130], xmm0
call fcn.00402780
cmp dword [ebp - 0x10c], 7
lea ecx, [ebp - 0x140]
push 0xffffffffffffffff
push 0x3e
lea eax, [ebp - 0x120]
mov dword [ebp - 0x3ec], edi
cmova eax, dword [ebp - 0x120]
push ecx
push eax
mov dword [ebp - 0x3e8], 0x421008
call fcn.0040aeb6
mov esi, eax
test esi, esi
jne 0x40a2c8
mov eax, dword [ebp - 0x130]
mov ecx, 6
shr eax, 0xa
test al, 1
mov eax, 0x3e
cmovne eax, ecx
mov dword [ebp - 0x124], eax
jmp 0x40a2ef
push esi
mov dword [ebp - 0x124], 0
call fcn.00409640
add esp, 4
test al, al
jne 0x40a2ef
mov dword [ebp - 0x3ec], esi
mov dword [ebp - 0x3e8], 0x421008
cmp dword [ebp - 0x3ec], 0
je 0x40a31b
cmp dword [ebp - 0x10c], 7
lea eax, [ebp - 0x120]
mov dword [ebp - 0x110], 0
cmova eax, dword [ebp - 0x120]
xor ecx, ecx
mov word [eax], cx
cmp dword [ebp - 0x3ec], 0
mov byte [ebp - 4], 0x1f
jne 0x40a347
lea eax, [ebp - 0x3ec]
push eax
push 2
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00404200
add esp, 0x10
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x1e
call fcn.00403560
cmp dword [ebp - 0x3ec], 0
jne 0x40a6af
cmp dword [ebp - 0x404], 0
jne 0x40a396
cmp dword [ebp - 0x94], 7
lea esi, [ebp - 0xa8]
cmova esi, dword [ebp - 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x40a396
xor eax, 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 0x1b
cmp ecx, 7
jbe 0x40a3da
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a3d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a6d1
push ecx
push edx
call fcn.0040b42c
add esp, 8
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov byte [ebp - 4], 0x13
cmp ecx, 7
jbe 0x40a435
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a42b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a6d1
push ecx
push edx
call fcn.0040b42c
add esp, 8
mov ecx, dword [ebp - 0xc4]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0xb
cmp ecx, 7
jbe 0x40a48d
mov edx, dword [ebp - 0xd8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a483
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a6d1
push ecx
push edx
call fcn.0040b42c
add esp, 8
lea eax, [ebp - 0x400]
push eax
call fcn.00403cd0
add esp, 4
test eax, eax
jne 0x40a6d6
mov eax, dword [ebp - 0x400]
mov esi, dword [ebp - 0x3fc]
mov dword [ebp - 0x3d4], eax
jmp 0x4099d0
or edi, 0xffffffff
test esi, esi
je 0x40a4e1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a4e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40a4e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x3d0]
test esi, esi
je 0x40a509
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40a509
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x40a509
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xdc]
cmp ecx, 7
jbe 0x40a549
mov edx, dword [ebp - 0xf0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a53f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a6e1
push ecx
push edx
call fcn.0040b42c
add esp, 8
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
cmp ecx, 0xf
jbe 0x40a59a
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a590
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a6e1
push ecx
push edx
call fcn.0040b42c
add esp, 8
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp ecx, 0xf
jbe 0x40a5e6
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a5dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a6e1
push ecx
push edx
call fcn.0040b42c
add esp, 8
xor eax, eax
jmp 0x40a613
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040b448
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x108]
push eax
push esi
push str.recursive_directory_iterator::recursive_directory_iterator
call fcn.00405900
mov eax, dword [ebp - 0x3d4]
add eax, 0x20
push eax
push ecx
push str.directory_entry::status
call fcn.00405900
push 0x16
call fcn.00405990
push edx
call fcn.004059d0
push edx
call fcn.004059d0
call fcn.0040e74f
call fcn.0040e74f
push 0x16
call fcn.00405990
push edx
call fcn.004059d0
push edx
call fcn.004059d0
call fcn.0040e74f
lea eax, [ebp - 0x5c]
push eax
push ecx
push str.status
call fcn.00405900
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x3f8]
push eax
push str.create_directories
call fcn.00405810
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0x3d4]
add eax, 0x20
push eax
lea eax, [ebp - 0x3ec]
push eax
push str.copy
call fcn.00405790
call fcn.0040e74f
push eax
push str.recursive_directory_iterator::operator
call fcn.00405880
call fcn.0040e74f
int3