Function at 0x1001f330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009760f
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x100d8574]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x100dd028]
test ecx, ecx
jne 0x1001f3be
push 0x100d80a4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100dd028], 0
jne 0x1001f3ad
push 4
call fcn.10033942
mov esi, eax
add esp, 4
mov dword [ebp - 0x74], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x1001f39b
mov ecx, esi
call fcn.10045900
jmp 0x1001f39d
xor esi, esi
mov dword [ebp - 4], 0xffffffff
xchg dword [ebp - 0x78], eax
mov dword [0x100dd028], esi
push 0x100d80a4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100dd028]
push 0x100b27dc
lea eax, [ebp - 0x58]
push eax
call fcn.10046d60
push 0
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 1
push str.ldsComputerZ.set
push eax
call fcn.1004fb30
add esp, 0xc
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f405
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.1000f550
mov edx, dword [ebp - 0x74]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f43d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x18], 0
mov edi, 1
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001f565
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0
cmovae eax, dword [ebp - 0x58]
push str.rc_flag
push str.Login
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100204b0
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1001f50d
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001f4db
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f4d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f677
push edx
push ecx
call fcn.10033972
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x1001f547
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f53d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f67c
push edx
push ecx
call fcn.10033972
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x1001f565
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1007f3f4
add esp, 4
test eax, eax
jg 0x1001f588
lea eax, [ebp - 0x58]
push eax
call fcn.1001f6a0
add esp, 4
test al, al
jne 0x1001f588
lea eax, [ebp - 0x40]
push eax
call fcn.1001f6a0
xor ecx, ecx
add esp, 4
test al, al
cmove edi, ecx
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001f5c2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f5b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f681
push edx
push ecx
call fcn.10033972
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x1001f610
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f606
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f686
push edx
push ecx
call fcn.10033972
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x1001f65a
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001f650
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f68b
push edx
push ecx
call fcn.10033972
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033cf1
mov esp, ebp
pop ebp
ret
call fcn.10073759
call fcn.10073759
call fcn.10073759
call fcn.10073759
call fcn.10073759
int3