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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404ca0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x84
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x94]
call fcn.00402620
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0xf
jbe 0x40296c
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402986
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403340
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x4029d6
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4029cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4029cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403cc8
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
call fcn.00403924
mov edx, eax
lea ecx, [ebp - 0x7c]
call fcn.00401820
add esp, 8
push 0xffffffffffffffff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x68], 7
lea eax, [ebp - 0x7c]
push 3
cmova eax, dword [ebp - 0x7c]
push ecx
push eax
call fcn.004039e5
mov esi, eax
test esi, esi
jne 0x402a7c
mov edx, dword [ebp - 0x50]
mov eax, 0x16d
test dl, 1
mov ecx, 0x1ff
cmovne ecx, eax
mov eax, edx
shr eax, 0xa
mov dword [ebp - 0x3c], ecx
test al, 1
je 0x402a6e
mov eax, dword [ebp - 0x4c]
cmp eax, 0xa000000c
jne 0x402a60
lea eax, [esi + 4]
jmp 0x402aa2
cmp eax, 0xa0000003
jne 0x402a6e
mov eax, 0xa
jmp 0x402aa2
shr edx, 4
movzx eax, dl
and eax, 1
or eax, 2
jmp 0x402aa2
lea eax, [esi - 2]
mov dword [ebp - 0x3c], 0xffff
cmp eax, 0x79
ja case.0x402a92.4
movzx eax, byte [eax + 0x402b98]
jmp dword [eax*4 + 0x402b90]
mov eax, 1
jmp 0x402aa2
xor eax, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0x407060
test eax, eax
je 0x402ae9
cmp eax, 1
setne byte [ebp - 0x61]
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x402b01
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402af7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402af7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 0x61], 0
test esi, esi
jne 0x402b82
jmp 0x402ab7
push ecx
push edx
call fcn.00403cc8
add esp, 8
cmp byte [ebp - 0x61], 0
je 0x402b2f
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or eax, 2
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
push eax
cmova ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x402b65
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402b5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402b5b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403cc8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00403c85
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x3c]
call fcn.004022c0
nop
cdq
sub al, byte [eax]
mov al, byte [0x402a]
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add ah, cl
int3