Function at 0x48b940
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x612dbb
mov eax, dword fs:[0]
push eax
sub esp, 0x534
mov eax, dword [0x6963f4]
xor eax, esp
mov dword [esp + 0x530], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x548]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x90], 0
mov ebx, edx
jne 0x48bb1f
lea edi, [esi + 0x14]
push edi
call fcn.00589233
push ebx
lea ecx, [esp + 0x18]
call fcn.00404e10
mov dword [esp + 0x550], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
or ebp, 0xffffffff
test eax, eax
jl 0x48b9d8
push 0x63dab8
push ecx
call fcn.0059fd35
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x48b9d8
sub eax, ecx
cmp eax, ebp
jne 0x48bab7
cmp dword [ecx - 0xc], 0
jl 0x48ba24
push 0x6482d0
push ecx
call fcn.0059fd35
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x48b9fe
sub eax, ecx
cmp eax, ebp
jne 0x48bab7
cmp dword [ecx - 0xc], 0
jl 0x48ba24
push 0x63ece4
push ecx
call fcn.0059fd35
add esp, 8
test eax, eax
je 0x48ba24
mov ecx, dword [esp + 0x14]
sub eax, ecx
cmp eax, ebp
jne 0x48bab7
push 0x104
lea eax, [esp + 0x238]
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x48bab3
push 0
push 0
lea ecx, [esp + 0x13c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x244]
push eax
call fcn.0059e6fd
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x340]
push edx
push 0
push 0
push ebx
call fcn.0059e6fd
add esp, 0x14
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x340]
push ecx
lea edx, [esp + 0x13c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44c]
push ecx
call fcn.0059ebe6
add esp, 0x14
lea edx, [esp + 0x43c]
push edx
lea ecx, [esp + 0x18]
call fcn.00401590
mov ecx, dword [esp + 0x14]
mov ebx, ecx
call fcn.00568851
mov eax, dword [eax + 8]
push 0x3010
push 0
push 0
push 0
push ebx
push eax
call dword [sym.imp.user32.dll_LoadImageA]
test eax, eax
mov dword [edi], eax
je 0x48bafb
lea ecx, [esp + 0x1c]
push ecx
push 0x18
push eax
call dword [sym.imp.gdi32.dll_GetObjectA]
test eax, eax
jne 0x48bb23
mov edx, dword [edi]
push edx
call dword [sym.imp.gdi32.dll_DeleteObject]
mov dword [edi], 0
mov dword [esp + 0x550], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x48bb1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x48bb8e
lea edx, [esp + 0x14]
mov ebx, 1
lea ecx, [esi + 0x24]
push edx
mov dword [esi + 0x20], ebx
call fcn.00407290
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
test bl, al
je 0x48bb4d
mov dword [esi + 0x8c], ebx
cmp word [esp + 0x2e], 8
jbe 0x48bb5d
push 0
push esi
call fcn.0048d280
call fcn.0048c2d0
push esi
call fcn.0048d4e0
mov dword [esp + 0x550], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x48bb8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x548]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x530]
xor ecx, esp
call fcn.0059e0c2
add esp, 0x540
ret