Function at 0x419bec
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x45b0d0]
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 0x419c1d
cmp dword [ecx], 0xc0190001
jne case.0x419c31.9
mov eax, dword [ecx + 4]
dec eax
cmp eax, 0x10
ja case.0x419c31.9
movzx eax, byte [eax + 0x419ff0]
jmp dword [eax*4 + 0x419fe0]
add ecx, 0x10
jmp 0x419cab
lea eax, [ebp - 0x60]
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.0045297e
test eax, eax
js 0x419eee
lea ecx, [ebp - 0x20]
jmp 0x419cb3
lea eax, [ebp - 0x60]
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.0045297e
test eax, eax
js 0x419eee
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x419ca8
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
cmp word [ecx], 0x20
jne 0x419c9f
sub edx, 2
add ecx, 2
dec eax
sub eax, 1
jne 0x419c8d
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
lea ecx, [ebp - 0x60]
test ecx, ecx
je case.0x419c31.9
lea edx, [ebp - 0x34]
mov dword [ebp - 0xc], ebx
call fcn.00452852
mov esi, eax
test esi, esi
js 0x419fc1
push 0x4020
lea eax, [ebp - 0x34]
mov dword [ebp - 0x78], 0x18
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x3c]
push 7
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x74], ebx
push eax
push 0x100080
lea eax, [ebp - 0xc]
mov dword [ebp - 0x6c], 0x40
push eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov esi, eax
test esi, esi
jns 0x419d3c
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 0x402ea8
mov dword [ebp - 0x84], 0x4030a0
mov dword [ebp - 0x80], 0x43f
mov dword [ebp - 0x7c], 0x4030b0
call fcn.0045365a
jmp 0x419fc1
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.004546d5
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
js 0x419fb3
push 0x2f
push edi
push ebx
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov esi, eax
test esi, esi
jns 0x419daa
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 0x402ea8
mov dword [ebp - 0x84], 0x4030a0
mov dword [ebp - 0x80], 0x456
mov dword [ebp - 0x7c], 0x403140
call fcn.0045365a
jmp 0x419fb3
xor esi, esi
mov dword [ebp - 0x8c], esi
cmp dword [ebx], esi
jbe 0x419ece
lea ecx, [ebx + 4]
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x54], 0x18
lea edi, [ebp - 0x50]
mov dword [ebp - 8], esi
stosd dword es:[edi], eax
mov dword [ebp - 0x58], 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 - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x1000
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntdll.dll_NtOpenProcess]
mov esi, eax
test esi, esi
js 0x419f6d
xor eax, eax
lea edi, [ebp - 0x2c]
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 0x419e36
cmp esi, 0xc0000023
je 0x419e36
cmp esi, 0xc0000004
jne 0x419efd
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
call fcn.004546d5
mov esi, eax
test esi, esi
js 0x419f2c
mov edi, dword [ebp - 0x24]
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 0x419f3d
xor ecx, ecx
cmp word [edi], cx
jbe 0x419e79
mov ecx, edi
call fcn.004190a1
lea ecx, [ebp - 0x2c]
call fcn.00454740
xor eax, eax
lea edi, [ebp - 0x84]
stosd dword es:[edi], eax
lea esi, [ebp - 0x84]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 8]
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
test eax, eax
je 0x419eb0
cmp eax, 0xffffffff
je 0x419eb0
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x14]
inc eax
add ecx, 4
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x14], ecx
cmp eax, dword [ebx]
jb 0x419dc0
lea ecx, [ebp - 0x20]
call fcn.00454740
mov eax, dword [ebp - 0xc]
test eax, eax
je case.0x419c31.9
cmp eax, 0xffffffff
je case.0x419c31.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.0045a80a
leave
ret
test esi, esi
js 0x419f02
int3
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 0x402ea8
mov dword [ebp - 0x84], 0x4030a0
mov dword [ebp - 0x80], 0x47e
mov dword [ebp - 0x7c], edi
call fcn.0045365a
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x419f9b
lea ecx, [ebp - 0x2c]
call fcn.00454740
jmp 0x419f9b
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 0x402ea8
mov dword [ebp - 0x84], 0x4030a0
mov dword [ebp - 0x80], 0x489
mov dword [ebp - 0x7c], 0x4031f0
call fcn.0045365a
jmp 0x419f2f
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 0x402ea8
mov dword [ebp - 0x84], 0x4030a0
mov dword [ebp - 0x80], 0x46b
mov dword [ebp - 0x7c], 0x4031ac
call fcn.0045365a
mov eax, dword [ebp - 8]
test eax, eax
je 0x419fb3
cmp eax, 0xffffffff
je 0x419fb3
xor ecx, ecx
push eax
mov dword [ebp - 8], ecx
call dword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
je 0x419fbf
lea ecx, [ebp - 0x20]
call fcn.00454740
xor ebx, ebx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x419fd7
cmp eax, 0xffffffff
je 0x419fd7
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
jmp 0x419eee