Function at 0x5403b0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x57cd0e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
or ebp, 0xffffffff
mov dword [esp + 0x28], ebx
cmp dword [edi + 0x3c], ebx
je 0x540516
push 0x5c
add edi, 0x30
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.00540200
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x40], 1
call fcn.0040b2a0
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 2
call fcn.0040b710
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x540446
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x540469
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebp
je 0x54047c
test al, 0x10
je 0x5404a4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x54049d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x5405a5
push 0x3c
call fcn.0040d49d
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x28], 3
cmp eax, ebx
je 0x5404c6
mov ecx, eax
call fcn.0053eac0
mov esi, eax
jmp 0x5404c8
xor esi, esi
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
mov byte [esp + 0x2c], bl
call fcn.0053efc0
test eax, eax
jne 0x540582
cmp esi, ebx
je 0x5404ee
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x54049d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x5405a5
push 0x5f
push 0x2e
lea ecx, [esp + 0x38]
call fcn.00540160
push 0x5f
push 0x5c
lea ecx, [esp + 0x38]
call fcn.00540160
push 0x3c
call fcn.0040d49d
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x28], 4
cmp eax, ebx
je 0x540552
mov ecx, eax
call fcn.0053eac0
mov esi, eax
jmp 0x540554
xor esi, esi
mov ecx, dword [esp + 0x30]
mov edi, dword [edi + 0x28]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x30], bl
call fcn.0053f060
test eax, eax
jne 0x540582
cmp esi, ebx
je 0x54057a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
or ebp, 0xffffffff
jmp 0x5404ee
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x5405a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4