Function at 0x10023c60
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b458
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x10064008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], str..__
lea ecx, [ebp - 0x10]
call fcn.1002bb00
push 3
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
call fcn.1001d520
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff8
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, 0xffffffff
jne 0x10023cde
cmp esi, 0x10088fa4
je 0x10023cde
push esi
call fcn.1002e9c1
add esp, 4
lea ecx, [ebp - 0x3c]
call fcn.1001d770
test al, al
je 0x10023e93
mov bh, byte [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
nop word [eax + eax]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10023d14
cmp byte [ecx + 0x19], 0
je 0x10023d14
call fcn.1001dba0
jmp 0x10023d17
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
add eax, 0xfffffff8
push eax
call esi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 3
xor bl, bl
call fcn.100239b0
test al, al
je 0x10023dc1
mov ecx, dword [edi + 8]
mov bl, 1
mov edx, dword [edi + 4]
inc ecx
cmp ecx, edx
jle 0x10023da1
mov eax, ecx
test eax, eax
jns 0x10023d52
add eax, 1
sar eax, 1
lea esi, [ecx + 8]
add esi, eax
and esi, 0xfffffff8
cmp edx, esi
je 0x10023d9b
test esi, esi
jle 0x10023d88
mov ecx, dword [edi]
lea eax, [esi*4]
push eax
test ecx, ecx
jne 0x10023d7b
call fcn.10035da6
mov dword [edi], eax
jmp 0x10023d95
push ecx
call fcn.10036008
add esp, 8
mov dword [edi], eax
jmp 0x10023d98
push dword [edi]
call fcn.10035d3c
mov dword [edi], 0
add esp, 4
mov dword [edi + 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov eax, dword [edi]
lea ecx, [eax + ecx*4]
test ecx, ecx
je 0x10023dc1
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff8
push eax
call esi
test bh, bh
je 0x10023e56
test bl, bl
jne 0x10023e56
mov esi, dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
call fcn.1001dbc0
test eax, eax
sete al
test al, al
je 0x10023def
mov esi, 0x100573bc
jmp 0x10023e37
push ecx
mov eax, esp
mov dword [eax], esi
call fcn.1001f060
add esp, 4
lea edx, [esi + 1]
nop
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x10023e00
sub esi, edx
lea ecx, [ebp + 8]
add esi, 4
lea edx, [ebp + 0x10]
inc eax
and esi, 0xfffffffc
add eax, esi
push eax
call fcn.1002a820
mov ecx, esp
mov eax, dword [eax]
add esi, eax
mov dword [ebp + 0x10], eax
mov dword [ecx], eax
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
call fcn.1002c340
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x10023e56
cmp eax, 0xffffffff
je 0x10023e56
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x10]
push 1
push eax
push edi
call fcn.10023c60
mov byte [ebp - 4], 2
mov esi, dword [ebp + 0x10]
add esi, 0xfffffff8
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, 0xffffffff
jne 0x10023e7d
cmp esi, 0x10088fa4
je 0x10023e7d
push esi
call fcn.1002e9c1
add esp, 4
lea ecx, [ebp - 0x3c]
call fcn.1001d770
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test al, al
jne 0x10023d00
lea ecx, [ebp - 0x3c]
call fcn.1001d6a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc