Function at 0x4075a0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5059fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x54]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
jbe 0x4075ee
mov eax, dword [ebp + 8]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x54]
push dword [ebp + 0x18]
push eax
call fcn.0047afe0
add esp, 0xc
mov dword [ebp - 0x10], 0x80
mov byte [ebp - 4], 1
mov esi, 0x80
mov dword [ebp - 0x10], esi
and esi, 0xffffff7f
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00406cf0
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0046af40
test bl, bl
je 0x407dec
cmp dword [ebp + 0x30], 0
jne 0x407791
lea eax, [ebp - 0x54]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
jbe 0x407662
mov eax, dword [ebp + 8]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x54]
push dword [ebp + 0x18]
push eax
call fcn.0047afe0
or esi, 0x800
add esp, 0xc
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
and esi, 0xfffff7ff
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x54]
call fcn.00405820
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.004055b0
mov byte [ebp - 4], 9
mov ecx, eax
push 4
push str..zip
call fcn.0046b590
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x58], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x30], ebx
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x2c], edi
mov esi, dword [eax + 0x14]
mov dword [ebp - 0x28], esi
or dword [ebp - 0x10], 0x1000
mov dword [ebp - 0x18], ecx
lea ecx, [ebp + 0x20]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.00402c80
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x34], esi
mov esi, dword [ebp - 0x10]
mov dword [ebp + 0x20], eax
and esi, 0xffffefff
mov eax, dword [ebp - 0x58]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.00402c80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
call fcn.0046af40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0046af40
mov edi, dword [ebp - 0x14]
xor bl, bl
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], bl
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0xf
jbe 0x4077ad
mov ecx, dword [ebp + 0x20]
sub esp, 8
xor edx, edx
push edi
call fcn.0048f2f0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x54]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xd
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
jbe 0x4077da
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
push dword [ebp + 0x18]
push eax
call fcn.0047afe0
or esi, 0x200
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xc
and esi, 0xfffffdff
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0xf
add esp, 8
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x60]
call fcn.0046cdd0
add esp, 4
test eax, eax
jne 0x407e1d
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x54]
call fcn.0046af40
sub esp, 8
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x5c]
mov dword [eax], 0
mov dword [eax + 4], 0
test ecx, ecx
je 0x40785d
lock inc dword [ecx + 4]
mov edx, dword [ebp - 0x60]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x68]
call fcn.004069d0
mov byte [ebp - 4], 0x15
mov eax, esp
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x14], esp
mov dword [eax], 0
mov dword [eax + 4], 0
test ecx, ecx
je 0x407899
lock inc dword [ecx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa8]
call fcn.00406aa0
add esp, 8
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0xa8]
je 0x407d19
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x18], 0
nop
lea ecx, [eax + 0x20]
lea eax, [ebp - 0x54]
push eax
call fcn.00405650
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0xf
jbe 0x4078ec
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
shr eax, 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c], esp
and al, 1
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0xd0], ecx
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
jbe 0x40791f
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp + 0x18]
push eax
call fcn.0047afe0
or esi, 8
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x19
and esi, 0xfffffff7
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x1b
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0xd4], esp
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0xf
jbe 0x407966
mov eax, dword [ebp - 0x54]
push dword [ebp - 0x18]
push dword [ebp - 0x44]
push eax
call fcn.0047afe0
or esi, 0x10
add esp, 0xc
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x1b
and esi, 0xffffffef
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x1c4]
call fcn.00406fb0
add esp, 0x30
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.00405350
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x1c4]
call fcn.0046af40
lea esp, [esp]
cmp dword [ebp - 0x28], 0xf
lea ecx, [ebp - 0x3c]
jbe 0x4079cc
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
push 1
push 0x51f9b8
push 0
call fcn.0046ece0
add esp, 0xc
cmp eax, 0xffffffff
je 0x407ab2
xor eax, eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x84], 0xf
mov word [ebp - 0x98], 0x5c
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], 0xf
mov word [ebp - 0x80], 0x2f
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x28], 0xf
lea ecx, [ebp - 0x3c]
jbe 0x407a69
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
push 1
push eax
push 0
call fcn.0046ece0
add esp, 0xc
cmp eax, 0xffffffff
je 0x407a92
push 1
lea ecx, [ebp - 0x98]
push ecx
push 1
push eax
lea ecx, [ebp - 0x3c]
call fcn.0046b1a0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x80]
call fcn.00402c80
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x98]
call fcn.00402c80
jmp 0x4079c0
cmp byte [ebp - 0x58], 0
mov edx, 0x51f9bc
jne 0x407ac2
mov edx, 0x51f88a
mov byte [ebp - 4], 0x24
mov eax, edx
lea edi, [eax + 1]
jmp 0x407ad0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407ad0
sub eax, edi
mov ecx, closesocket
mov edi, dword [ebp - 0x2c]
sub ecx, edi
cmp ecx, eax
jb 0x407e18
cmp dword [ebp - 0x28], 0xf
lea ecx, [ebp - 0x3c]
jbe 0x407af7
mov ecx, dword [ebp - 0x3c]
push eax
push edx
push edi
push ecx
push ecx
push dword [ebp - 0xa0]
lea ecx, [ebp - 0xf4]
call fcn.00470ea0
or esi, 1
lea edi, [ebp - 0xf4]
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0xe0], 0xf
jbe 0x407b28
mov edi, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x407bd5
test bl, bl
je 0x407b44
push ecx
call fcn.0048fde0
add esp, 4
mov byte [ebp - 0x20], 0
mov al, byte [edi]
cmp al, 0x5c
je 0x407b4e
cmp al, 0x2f
jne 0x407b51
inc edi
jmp 0x407b44
xor eax, eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xdc]
push eax
call fcn.004eda6b
lea eax, [ebp - 0xdc]
push eax
call fcn.004edd64
sub esp, 0x38
mov edx, edi
mov edi, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0xcc], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc0], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xbc], ecx
mov ecx, edi
push eax
call fcn.0048f850
add esp, 0x44
test eax, eax
sete bl
mov byte [ebp - 0x20], bl
jmp 0x407bd8
mov edi, dword [ebp - 0x24]
and esi, 0xfffffffe
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xf4]
call fcn.00402c80
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x1ac], 0x5284b4
call fcn.0046ae70
mov byte [ebp - 4], 0x25
sub esp, 8
lea eax, [ebp - 0x19c]
or esi, 2
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x10], esi
push eax
call fcn.0046ad00
mov dword [ebp - 4], 0x26
mov eax, dword [ebp - 0x1ac]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b0], eax
lea ecx, [ebp - 0x19c]
call fcn.0046ab40
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0xf
jbe 0x407c6a
mov eax, dword [ebp - 0x54]
sub esp, 8
lea ecx, [ebp - 0x19c]
push eax
call fcn.0046c040
test eax, eax
lea ecx, [ebp - 0x1ac]
mov eax, dword [ebp - 0x1ac]
je 0x407c9b
add ecx, dword [eax + 4]
mov eax, dword [ecx + 0x38]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
jmp 0x407cb0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.004046a0
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x24]
call fcn.00406e50
test bl, bl
je 0x407cdb
push ecx
mov ecx, edi
call fcn.0048fde0
add esp, 4
xor bl, bl
mov byte [ebp - 0x20], bl
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x1ac]
call fcn.00407e30
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x3c]
call fcn.00402c80
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x54]
call fcn.00402c80
lea ecx, [ebp - 0x68]
call fcn.004069a0
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0xa8]
jne 0x4078d0
mov byte [ebp - 4], 0x15
or esi, 0xffffffff
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x407d4b
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x407d4b
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x407d4b
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x407d77
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x407d77
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x407d77
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x407d9f
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x407d9f
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x5c]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x407d9f
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x407dc3
test bl, bl
je 0x407db7
push ecx
mov ecx, edi
call fcn.0048fde0
add esp, 4
xor bl, bl
mov byte [ebp - 0x20], bl
mov ecx, edi
call fcn.00490af0
xor edi, edi
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 1
test edi, edi
je 0x407dec
test bl, bl
je 0x407dde
push ecx
mov ecx, edi
call fcn.0048fde0
add esp, 4
mov byte [ebp - 0x20], 0
mov ecx, edi
call fcn.00490af0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004025a0
lea ecx, [ebp - 0x54]
mov edx, eax
push ecx
mov ecx, str.recursive_directory_iterator::recursive_directory_iterator
call fcn.00406180
int3