Function at 0x41a3c2
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [ecx], 0xc0000043
push esi
push edi
mov dword [ebp - 0x14], ebx
je 0x41a3f3
cmp dword [ecx], 0xc0190001
jne case.0x41a407.9
mov eax, dword [ecx + 4]
dec eax
cmp eax, 0x10
ja case.0x41a407.9
movzx eax, byte [eax + 0x41a782]
jmp dword [eax*4 + 0x41a772]
add ecx, 0x10
je case.0x41a407.9
jmp 0x41a487
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x2c
push ecx
push ecx
lea edx, [ecx + 0x10]
xor ecx, ecx
inc ecx
call fcn.004554c5
test eax, eax
js 0x41a6b2
lea ecx, [ebp - 0x20]
jmp 0x41a487
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x2c
push ecx
push ecx
lea edx, [ecx + 0x10]
xor ecx, ecx
inc ecx
call fcn.004554c5
test eax, eax
js 0x41a6b2
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x41a484
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
cmp word [ecx], 0x20
jne 0x41a47b
sub edx, 2
add ecx, 2
dec eax
sub eax, 1
jne 0x41a469
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0xc], ebx
call fcn.00455395
mov esi, eax
test esi, esi
js 0x41a56a
push 0x4020
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x80], 0x18
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x44]
push 7
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], ebx
push eax
push 0x100080
lea eax, [ebp - 0xc]
mov dword [ebp - 0x74], 0x40
push eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov esi, eax
test esi, esi
jns 0x41a504
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x402ef0
mov dword [ebp - 0x20], 0x4030f4
mov dword [ebp - 0x1c], 0x443
mov dword [ebp - 0x18], 0x403108
call fcn.00456190
jmp 0x41a56a
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
lea edx, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x400
mov ecx, edi
call fcn.0045724b
mov esi, eax
test esi, esi
js 0x41a562
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x44]
push 0x2f
push edi
push ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov esi, eax
test esi, esi
jns 0x41a587
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0x402ef0
mov dword [ebp - 0x30], 0x4030f4
mov dword [ebp - 0x2c], 0x45a
mov dword [ebp - 0x28], 0x403198
call fcn.00456190
xor ebx, ebx
lea ecx, [ebp - 0x20]
call fcn.0041c2cb
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x41a580
cmp ecx, 0xffffffff
je 0x41a580
push ecx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
jmp 0x41a6b2
xor esi, esi
mov dword [ebp - 0x94], esi
cmp dword [ebx], esi
jbe 0x41a692
lea ecx, [ebx + 4]
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x5c], 0x18
lea edi, [ebp - 0x58]
mov dword [ebp - 8], esi
stosd dword es:[edi], eax
mov dword [ebp - 0x60], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x1000
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntdll.dll_NtOpenProcess]
mov esi, eax
test esi, esi
js 0x41a716
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
xor edi, edi
push edi
push edi
push 0x1b
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov esi, eax
cmp esi, 0x80000005
je 0x41a613
cmp esi, 0xc0000023
je 0x41a613
cmp esi, 0xc0000004
jne 0x41a6c1
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x30]
call fcn.0045724b
mov esi, eax
test esi, esi
js 0x41a70c
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push edi
push 0x1b
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov esi, eax
test esi, esi
js 0x41a6d8
xor esi, esi
cmp word [edi], si
jbe 0x41a656
mov ecx, edi
call fcn.0041985c
lea ecx, [ebp - 0x30]
call fcn.0041c2cb
mov eax, dword [ebp - 8]
test eax, eax
je 0x41a674
cmp eax, 0xffffffff
je 0x41a674
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x14]
inc eax
add ecx, 4
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x14], ecx
cmp eax, dword [ebx]
jb 0x41a59d
lea ecx, [ebp - 0x20]
call fcn.0041c2cb
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x41a407.9
cmp eax, 0xffffffff
je case.0x41a407.9
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d72e
leave
ret
test esi, esi
js 0x41a6c6
int3
mov dword [ebp - 0x88], 0x482
mov dword [ebp - 0x84], edi
jmp 0x41a6ec
mov dword [ebp - 0x88], 0x48d
mov dword [ebp - 0x84], 0x403248
push esi
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], 0x402ef0
mov dword [ebp - 0x8c], 0x4030f4
call fcn.00456190
lea ecx, [ebp - 0x30]
call fcn.0041c2cb
jmp 0x41a74a
push esi
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], 0x402ef0
mov dword [ebp - 0x8c], 0x4030f4
mov dword [ebp - 0x88], 0x46f
mov dword [ebp - 0x84], 0x403204
call fcn.00456190
mov eax, dword [ebp - 8]
test eax, eax
je 0x41a560
xor ebx, ebx
cmp eax, 0xffffffff
je 0x41a562
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x41a562