Function at 0x43e35a
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
or dword [ebp - 0x28], 0xffffffff
lea eax, [ebp - 0x54]
push ebx
push esi
push edi
push 0x4021
push 7
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x40], edx
push eax
push 0x100001
lea eax, [ebp - 0x28]
mov edi, ecx
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.ntdll.dll_NtOpenFile]
test eax, eax
je 0x43e39b
xor ebx, ebx
jmp 0x43e7e9
xor eax, eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x278]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0x20], eax
lea eax, [ebp - 0x3c]
mov dword [ebp + 0x24], eax
call fcn.004421fc
lea ecx, [ebp - 0x18]
call fcn.004421fc
call fcn.0043c5cd
push eax
lea ecx, [ebp - 0x24]
call fcn.0043ac50
xor ecx, ecx
lea eax, [ebp - 0x2bc]
push ecx
push ecx
push 0xff
push 2
push 0x248
push eax
lea eax, [ebp - 0x54]
mov ebx, ecx
push eax
push ecx
push ecx
push ecx
jmp 0x43e795
test byte [ebp - 0x284], 0x10
mov esi, dword [ebp - 0x280]
je 0x43e43a
mov edx, esi
lea ecx, [ebp - 0x278]
call fcn.0044bd57
test al, al
jne 0x43e777
test dword [ebp - 0x284], 0x400
je 0x43e444
test dword [ebp - 0x27c], 0x20000000
jne 0x43e777
jmp 0x43e444
test byte [ebp + 0xc], 1
je 0x43e777
xor eax, eax
and dword [ebp - 0x2c], eax
mov word [ebp + esi - 0x278], ax
lea eax, [ebp - 0x18]
mov esi, dword [ebp - 0x18]
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.00442419
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
and dword [ebp - 0x14], 0
test edi, edi
je 0x43e51d
mov esi, dword [edi]
mov esi, dword [esi]
mov dword [ebp - 0x10], esi
cmp byte [esi + 0xd], 0
jne 0x43e777
mov ebx, dword [esi + 0x10]
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov edi, esp
lea ecx, [ecx - 0x10]
call fcn.0043baa0
mov ecx, dword [ebp + 0x18]
add eax, 0x10
mov edx, ebx
mov dword [edi], eax
call fcn.0043db72
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x43e7a6
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x278]
call fcn.0044a033
test eax, eax
je 0x43e4f9
cmp dword [esi + 0x1c], ebx
jne 0x43e51d
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
jmp 0x43e4f3
add eax, 0x10
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0044259e
lea ecx, [ebp - 0xc]
call fcn.0042f6ed
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xd], 0
je 0x43e4d8
lea ecx, [ebp - 0x10]
call fcn.0042f6ed
mov esi, dword [ebp - 0x10]
cmp byte [esi + 0xd], 0
je 0x43e487
cmp dword [ebp - 0x14], 0
je 0x43e774
mov edi, dword [ebp - 0x2c]
jmp 0x43e523
xor edi, edi
inc edi
mov dword [ebp - 0x2c], edi
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.00442419
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebp - 0x1c], edx
test eax, eax
je 0x43e5f6
mov esi, dword [eax]
mov esi, dword [esi]
mov dword [ebp - 0xc], esi
cmp byte [esi + 0xd], dl
jne 0x43e5ed
mov ebx, dword [esi + 0x10]
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov edi, esp
lea ecx, [ecx - 0x10]
call fcn.0043baa0
mov ecx, dword [ebp + 0x18]
add eax, 0x10
mov edx, ebx
mov dword [edi], eax
call fcn.0043db72
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x43e7a6
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x278]
call fcn.0044a033
test eax, eax
je 0x43e5d2
cmp dword [esi + 0x1c], ebx
jne 0x43e687
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x43e5cc
add eax, 0x10
lea ecx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0044259e
lea ecx, [ebp - 0x10]
call fcn.0042f6ed
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xd], 0
je 0x43e5b1
lea ecx, [ebp - 0xc]
call fcn.0042f6ed
mov esi, dword [ebp - 0xc]
cmp byte [esi + 0xd], 0
je 0x43e55c
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmp edi, 0xffffffff
je 0x43e774
test edi, edi
je 0x43e607
test byte [ebp - 0x284], 0x10
je 0x43e68f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x43e6f3
test edx, edx
jne 0x43e6f3
test byte [ebp - 0x284], 0x10
je 0x43e68f
test byte [ebp + 0xc], 2
je 0x43e774
lea eax, [ebp - 0x278]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.0043ab55
pop ecx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0043baa0
mov ecx, dword [ebp + 0x14]
add eax, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004422c1
mov eax, dword [eax]
mov dword [eax + 0x14], 2
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.0043c924
jmp 0x43e774
or edi, 0xffffffff
jmp 0x43e5ea
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43e6a7
mov eax, dword [ebp - 0x294]
add dword [ecx], eax
mov eax, dword [ebp - 0x290]
adc dword [ecx + 4], eax
lea eax, [ebp - 0x278]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.0043ab55
pop ecx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0043baa0
mov ecx, dword [ebp + 0x14]
add eax, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004422c1
mov eax, dword [eax]
mov dword [eax + 0x14], 1
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [ebp - 0x48]
jmp 0x43e67a
sub esp, 0x18
mov eax, dword [ebp - 0x280]
lea esi, [ebp + 0x1c]
mov word [ebp - 0x3a], ax
neg edx
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x20]
push 6
pop ecx
mov edi, esp
sbb edx, edx
push dword [ebp + 0x18]
rep movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
mov edi, dword [ebp - 0x10]
and edx, eax
push dword [ebp + 0x10]
neg edi
mov dword [ebp - 0xc], edx
push dword [ebp + 0xc]
sbb edi, edi
lea eax, [ebp - 0x18]
push ecx
and edi, eax
lea edx, [ebp + 8]
mov esi, esp
lea eax, [ebp - 0x278]
push 0x498824
push eax
lea ecx, [ebp - 0x4c]
call fcn.0043ab55
pop ecx
mov edx, eax
mov ecx, esi
call fcn.0043ab55
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, edi
call fcn.0043e35a
mov ecx, dword [ebp - 0x4c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043c924
test esi, esi
je 0x43e774
mov ebx, esi
mov edi, dword [ebp - 8]
xor esi, esi
lea eax, [ebp - 0x2bc]
push esi
push esi
push 0xff
push 2
push 0x248
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push dword [ebp - 0x28]
call dword [sym.imp.ntdll.dll_ZwQueryDirectoryFile]
test eax, eax
je 0x43e3f8
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.00442419
mov ecx, dword [ebp - 0x18]
push 0x20
pop edx
call fcn.0043a508
mov eax, dword [ebp - 0x20]
push dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
mov ecx, eax
call fcn.00442419
mov ecx, dword [ebp - 0x20]
push 0x20
pop edx
call fcn.0043a508
lea ecx, [ebp - 0x28]
call fcn.0043ab9a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0043c924
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x2c