Function at 0x42bd80
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, 0x5c
push esi
push ebx
lea ebx, [ebp - 0x810]
sub esp, 0x8ac
mov dword [ebp - 0x88c], ecx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x818]
mov dword [ebp - 0x818], ebx
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], eax
lea edx, [eax + edx*2]
mov dword [esp + 4], edx
call fcn.0042ab30
lea ecx, [ebp - 0x818]
mov eax, 1
sub esp, 8
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x814]
mov dword [esp], eax
call fcn.0049ac60
mov eax, dword [ebp + 0xc]
sub esp, 0x10
mov esi, dword [ebp - 0x814]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, 0x1fffffff
sub eax, esi
cmp eax, edx
jb 0x42c5af
mov dword [esp], ecx
lea ecx, [ebp - 0x818]
mov dword [esp + 4], edx
call fcn.0049c5c0
lea edi, [ebp - 0x860]
sub esp, 8
mov esi, dword [eax + 4]
mov dword [ebp - 0x868], edi
lea edx, [eax + 8]
mov ecx, dword [eax]
cmp ecx, edx
je 0x42c340
mov dword [ebp - 0x868], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x860], ecx
mov dword [eax], edx
mov dword [eax + 4], 0
mov word [eax + 8], 0
mov eax, dword [ebp - 0x818]
mov dword [ebp - 0x864], esi
cmp eax, ebx
je 0x42be7f
mov edx, dword [ebp - 0x810]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004a2230
mov edi, dword [ebp - 0x868]
lea ecx, [ebp - 0x850]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x890], edi
mov esi, dword [eax]
call fcn.00420f20
mov dword [esp], edi
lea eax, [ebp - 0x878]
mov dword [esp + 4], eax
call fcn.00421090
mov dword [ebp - 0x880], eax
inc eax
je 0x42c4a8
xor edi, edi
mov dword [ebp - 0x87c], edi
mov dword [esp], 0xc
call fcn.00450d80
mov dword [eax], 0x4cdda8
mov ebx, eax
mov edx, dword [ebp - 0x874]
mov dword [ebp - 0x87c], ebx
lea eax, [ebp - 0x880]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x878]
lea ecx, [ebp - 0x850]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x880]
mov dword [esp], eax
call fcn.00421010
mov dl, al
sub esp, 0xc
mov ecx, dword [ebp - 0x878]
test dl, dl
mov eax, dword [ebp - 0x874]
je 0x42c2f0
test eax, eax
mov eax, 0xfffffbff
cmove eax, ecx
mov edi, eax
test byte [ebp + 0x18], 1
jne 0x42c360
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42c530
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x42c385
mov eax, str.Reserve
mov edx, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, str._lsFile:___ls_____ls_
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov dword [esp + 0x10], edx
mov eax, dword [ebp - 0x88c]
mov dword [esp], eax
call fcn.00402fc0
mov eax, dword [ebp - 0x88c]
cmp byte [eax + 0x8f26], 0
jne 0x42bf9a
mov ecx, dword [eax + 0x8f28]
test ecx, ecx
jne 0x42c510
mov dword [esp], 1
call dword [0x4aa7d0]
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov ecx, dword [ebp - 0x88c]
call fcn.00402620
mov dword [ebp - 0x894], eax
mov ecx, dword [ebp - 0x88c]
xor edx, edx
xor eax, eax
mov dword [ebp + eax - 0x834], edx
mov dword [ebp + eax - 0x830], edx
add eax, 8
cmp eax, 0x18
jb 0x42bfca
mov dword [ebp - 0x88c], ecx
xor edx, edx
mov dword [ebp + eax - 0x834], edx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x42c0de
mov eax, 0x14
mov dword [ebp - 0x834], eax
mov eax, 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], 0x54
call fcn.00418a60
sub esp, 8
mov ecx, 0xffffffff
mov dword [esp + 4], ecx
mov dword [esp], 0x48
mov ecx, dword [ebp - 0x88c]
call fcn.00418a60
sub esp, 8
mov edx, 0xffffffff
mov dword [esp + 4], edx
mov dword [esp], 0x4d
mov ecx, dword [ebp - 0x88c]
call fcn.00418a60
sub esp, 8
mov eax, 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], 0x4c
mov ecx, dword [ebp - 0x88c]
call fcn.00418a60
sub esp, 8
mov eax, 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], 0x3a
mov ecx, dword [ebp - 0x88c]
call fcn.00418a60
mov ecx, dword [ebp - 0x88c]
sub esp, 8
mov eax, dword [ecx + 0x9f40]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42c390
mov eax, 0xfffffffe
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
mov ecx, dword [ebp - 0x88c]
call fcn.00407ff0
mov dword [ebp - 0x82c], eax
sub esp, 0xc
lea eax, [ebp - 0x850]
mov dword [esp], eax
mov ecx, dword [ebp - 0x88c]
call fcn.00403420
mov dword [ebp - 0x828], eax
lea ecx, [ebp - 0x850]
sub esp, 4
call fcn.004207b0
mov eax, dword [ebp - 0x828]
test eax, eax
js 0x42c331
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x42c120
mov esi, dword [ebp + 0x1c]
mov dword [esi], eax
mov ecx, dword [ebp - 0x88c]
call fcn.00402620
mov esi, dword [ebp - 0x894]
sub eax, esi
je 0x42c138
sub eax, 4
cmp edi, eax
je 0x42c4f0
mov dword [esp + 0xc], edi
mov edi, str.__u__u_bytes_n
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x88c]
mov dword [esp], eax
call fcn.00402fc0
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x42c2a0
mov eax, dword [ebp - 0x88c]
mov edx, dword [eax + 0x9f4c]
test edx, edx
jne 0x42c408
cmp dword [eax + 0x9f40], 2
jg 0x42c408
mov ecx, 0xffffffff
mov esi, 0xffffffff
mov dword [ebp - 0x824], ecx
mov dword [ebp - 0x820], esi
mov esi, dword [ebp - 0x88c]
mov eax, dword [ebp - 0x830]
mov edx, dword [esi + 0x9f54]
test edx, edx
jne 0x42c548
or eax, 0x20000a8
mov edx, 0x39
mov dword [ebp - 0x830], eax
mov edi, 0xffffffff
mov dword [esp + 4], edi
mov dword [esp], edx
mov edi, dword [ebp - 0x88c]
mov ecx, edi
call fcn.00418a60
mov dword [ebp - 0x81c], eax
sub esp, 8
mov ecx, edi
lea eax, [ebp - 0x834]
mov dword [esp], eax
call fcn.00404080
sub esp, 4
test eax, eax
mov esi, eax
jne 0x42c2a2
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x42c2a0
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x818]
mov ecx, 0xa
mov dword [ebp - 0x834], ecx
mov edx, 0xfffffffe
mov ecx, 1
test esi, esi
cmovne eax, dword [ebp + 0x14]
mov dword [ebp + 0x14], eax
mov dword [esp + 4], ecx
mov ecx, edi
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.00407ff0
mov dword [ebp - 0x830], eax
mov eax, dword [ebp - 0x890]
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x82c], eax
xor esi, esi
sub esp, 4
mov dword [ebp - 0x828], edx
xor edx, edx
inc eax
mov dword [ebp - 0x824], ecx
mov dword [ebp - 0x820], esi
mov dword [ebp - 0x81c], edx
jne 0x42c560
lea esi, [esi]
lea esi, [esi]
xor esi, esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0x850]
call fcn.00420980
mov eax, dword [ebp - 0x868]
lea ebx, [ebp - 0x860]
cmp eax, ebx
je 0x42c2da
mov edx, dword [ebp - 0x860]
mov dword [esp], eax
lea edx, [edx + edx + 2]
mov dword [esp + 4], edx
call fcn.004a2230
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x18
xor edi, edi
or eax, ecx
je 0x42bf32
mov ecx, dword [ebp + 0x18]
mov eax, str.Reserve
mov edx, 0x4b5f02
mov esi, dword [ebp - 0x890]
test ecx, ecx
mov dword [esp + 0xc], esi
cmovne eax, edx
mov esi, str._lsFile:_failed_creating_mmap_of___ls__n
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x88c]
mov dword [esp], eax
call fcn.00403350
mov esi, 0x32
jmp 0x42c2a2
mov ecx, esi
inc ecx
je 0x42be4a
add ecx, ecx
mov esi, edx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax + 4]
jmp 0x42be4a
lea eax, [edi + 0x3ff]
shr eax, 0xa
mov dword [esp], eax
mov ecx, dword [ebp - 0x88c]
call fcn.00402ac0
mov edx, dword [ebp + 0x14]
sub esp, 4
test edx, edx
je 0x42c478
mov eax, 0x4b5f02
jmp 0x42bf57
movzx eax, word [esi]
lea edx, [ebp - 0x818]
test eax, eax
je 0x42c3d3
mov ecx, dword [ebp - 0x88c]
jmp 0x42c3b2
movzx eax, word [esi]
add edx, 2
test eax, eax
je 0x42c3cd
mov word [edx], ax
add esi, 2
cmp eax, 0x24
jne 0x42c3a8
mov word [edx + 2], 0x24
add edx, 4
movzx eax, word [esi]
test eax, eax
jne 0x42c3b2
mov dword [ebp - 0x88c], ecx
mov ecx, 0xfffffffe
mov esi, 1
mov word [edx], 0
lea eax, [ebp - 0x818]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
mov ecx, dword [ebp - 0x88c]
call fcn.00407ff0
jmp 0x42c0d5
lea eax, [ebp - 0x870]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x880]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
sub esp, 0x10
test eax, eax
je 0x42c580
mov esi, dword [ebp - 0x870]
mov eax, 0x1312d00
mov edi, dword [ebp - 0x86c]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.0046f010
sub esi, eax
mov dword [ebp - 0x824], esi
sbb edi, edx
mov dword [ebp - 0x820], edi
jmp 0x42c1a1
mov eax, 0x4b5f02
mov dword [esp + 8], eax
mov eax, str._lsFile:___ls_
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88c]
mov dword [esp], eax
call fcn.00402fc0
jmp 0x42bf7d
mov eax, dword [ebp + 0x18]
mov edx, 0x4b5f02
mov ebx, dword [ebp - 0x890]
test eax, eax
mov eax, str.Reserve
mov dword [esp + 0xc], ebx
cmovne eax, edx
mov dword [esp + 8], eax
mov eax, str._lsFile:_failed_opening_file___ls__n
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88c]
mov dword [esp], eax
call fcn.00403350
mov esi, 0x32
jmp 0x42c2a9
mov dword [esp + 8], edi
mov esi, str.__u_bytes_n
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x88c]
mov dword [esp], eax
call fcn.00402fc0
jmp 0x42c15f
mov dword [esp], eax
mov edx, str.__compress_
mov dword [esp + 4], edx
call fcn.00402fc0
jmp 0x42bf9a
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x42c478
mov eax, str.Reserve
jmp 0x42c47d
or eax, 0x5000090
mov edx, 0x38
jmp 0x42c1c5
lea eax, [ebp - 0x834]
mov ecx, edi
mov dword [esp], eax
call fcn.00404080
sub esp, 4
mov esi, eax
jmp 0x42c2a2
mov eax, dword [ebp - 0x890]
mov edi, 0x4b5f02
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, str._lsFile:_failed_getting_file_date_from___ls__n
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88c]
mov dword [esp], eax
call fcn.00403350
jmp 0x42c331
mov dword [esp], 0x4b6072
call fcn.004a64e4
mov ebx, eax
jmp 0x4a4dbc