Function at 0x43f31b
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
or dword [ebp - 0x18], 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 - 0x18]
mov edi, ecx
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.ntdll.dll_NtOpenFile]
test eax, eax
je 0x43f35c
xor ebx, ebx
jmp 0x43f76e
xor eax, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x278]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x20], eax
lea eax, [ebp - 0x3c]
mov dword [ebp + 0x24], eax
call fcn.0044316c
lea ecx, [ebp - 0x20]
call fcn.0044316c
call fcn.0043d5bb
push eax
lea ecx, [ebp - 0x14]
call fcn.0043bbe8
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 0x43f742
test byte [ebp - 0x284], 0x10
mov esi, dword [ebp - 0x280]
je 0x43f3fb
mov edx, esi
lea ecx, [ebp - 0x278]
call fcn.0044cd96
test al, al
jne 0x43f724
test dword [ebp - 0x284], 0x400
je 0x43f405
test dword [ebp - 0x27c], 0x20000000
jne 0x43f724
jmp 0x43f405
test byte [ebp + 0xc], 1
je 0x43f724
xor eax, eax
and dword [ebp - 0x2c], eax
mov word [ebp + esi - 0x278], ax
lea eax, [ebp - 0x20]
mov esi, dword [ebp - 0x20]
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.004433c2
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
and dword [ebp - 0x1c], 0
test edi, edi
je 0x43f4db
mov esi, dword [edi]
mov esi, dword [esi]
mov dword [ebp - 0x10], esi
cmp byte [esi + 0xd], 0
jne 0x43f724
mov ebx, dword [esi + 0x10]
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov edi, esp
lea ecx, [ecx - 0x10]
call fcn.0043cad2
mov ecx, dword [ebp + 0x18]
add eax, 0x10
mov edx, ebx
mov dword [edi], eax
call fcn.0043eb33
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x43f753
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x278]
call fcn.0044b08d
test eax, eax
je 0x43f4ba
cmp dword [esi + 0x1c], ebx
jne 0x43f4db
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
jmp 0x43f4b4
add eax, 0x10
lea ecx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0044356f
lea ecx, [ebp - 0xc]
call fcn.00430288
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xd], 0
je 0x43f499
lea ecx, [ebp - 0x10]
call fcn.00430288
mov esi, dword [ebp - 0x10]
cmp byte [esi + 0xd], 0
je 0x43f448
cmp dword [ebp - 0x1c], 0
je 0x43f721
jmp 0x43f4e2
mov dword [ebp - 0x2c], 1
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.004433c2
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 - 0x24], edx
test eax, eax
je 0x43f5a9
mov esi, dword [eax]
mov esi, dword [esi]
mov dword [ebp - 0xc], esi
cmp byte [esi + 0xd], dl
jne 0x43f5a9
mov ebx, dword [esi + 0x10]
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, dword [ebp + 8]
mov edi, esp
lea ecx, [ecx - 0x10]
call fcn.0043cad2
mov ecx, dword [ebp + 0x18]
add eax, 0x10
mov edx, ebx
mov dword [edi], eax
call fcn.0043eb33
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x43f753
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x278]
call fcn.0044b08d
test eax, eax
je 0x43f591
cmp dword [esi + 0x1c], ebx
jne 0x43f721
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x43f58b
add eax, 0x10
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0044356f
lea ecx, [ebp - 0x10]
call fcn.00430288
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xd], 0
je 0x43f570
lea ecx, [ebp - 0xc]
call fcn.00430288
mov esi, dword [ebp - 0xc]
cmp byte [esi + 0xd], 0
je 0x43f51b
mov edx, dword [ebp - 0x24]
cmp dword [ebp - 0x2c], 0
je 0x43f5bc
test byte [ebp - 0x284], 0x10
je 0x43f63c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x43f6a0
test edx, edx
jne 0x43f6a0
test byte [ebp - 0x284], 0x10
je 0x43f63c
test byte [ebp + 0xc], 2
je 0x43f721
lea eax, [ebp - 0x278]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.0043baed
pop ecx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0043cad2
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.00443258
mov eax, dword [eax]
mov dword [eax + 0x14], 2
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.0043d912
jmp 0x43f721
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43f654
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.0043baed
pop ecx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0043cad2
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.00443258
mov eax, dword [eax]
mov dword [eax + 0x14], 1
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [ebp - 0x48]
jmp 0x43f62f
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 - 0x28]
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 - 0x20]
push ecx
and edi, eax
lea edx, [ebp + 8]
mov esi, esp
lea eax, [ebp - 0x278]
push 0x49a9c0
push eax
lea ecx, [ebp - 0x4c]
call fcn.0043baed
pop ecx
mov edx, eax
mov ecx, esi
call fcn.0043baed
mov edx, dword [ebp - 0xc]
pop ecx
mov ecx, edi
call fcn.0043f31b
mov ecx, dword [ebp - 0x4c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043d912
test esi, esi
je 0x43f721
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 - 0x18]
call dword [sym.imp.ntdll.dll_ZwQueryDirectoryFile]
test eax, eax
je 0x43f3b9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0043d912
lea ecx, [ebp - 0x20]
call fcn.00443192
lea ecx, [ebp - 0x28]
call fcn.00443192
lea ecx, [ebp - 0x18]
call fcn.0043bb32
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0043d912
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x2c