Function at 0x1c2309e
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x1cda44c]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.01c23039
mov esi, eax
cmp byte [eax + 0xb], 0
js 0x1c230ce
jne 0x1c230da
mov word [esi], 0
mov byte [esi + 0xb], 0
jmp 0x1c23251
cmp dword [esi + 4], 0
je 0x1c23243
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cbd3e0]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x1c231f4
mov esi, eax
xor eax, eax
dec eax
lea ecx, [ebp - 0x20]
mov dword [ecx], eax
mov dword [ecx + 4], eax
xor eax, eax
lea ebx, [ebp - 0x14]
mov dword [ebx], eax
push eax
push ebx
push 8
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebx]
test eax, eax
je 0x1c23220
cmp ecx, 8
jne 0x1c23220
mov edi, 8
cmp dword [ebp - 0x20], 1
jne 0x1c2322e
mov eax, dword [ebp - 0x1c]
mov dword [0x1cf3cd0], eax
test eax, eax
je 0x1c232fe
mov edi, 9
cmp eax, 0x5d1745d
ja 0x1c2322e
imul edi, eax, 0x2c
push edi
call fcn.01c92af3
add esp, 4
mov dword [0x1cf3cd4], eax
push 0
push ebx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [0x1cf3cd4]
test eax, eax
je 0x1c23308
cmp dword [ebp - 0x14], edi
jne 0x1c23308
mov edx, dword [0x1cf3cd0]
imul eax, edx, 0x2c
add eax, ebx
xor edi, edi
mov ecx, ebx
test edx, edx
je 0x1c23331
cmp edx, 1
je 0x1c2322e
lea edx, [ebx + 0x2c]
mov dword [ebp - 0x28], ebx
mov ecx, ebx
mov dword [ebp - 0x24], eax
mov ebx, ecx
mov ecx, edx
add ebx, 0x14
mov al, byte [edx - 0x2c]
mov ah, byte [edx]
cmp ah, al
jb 0x1c2332b
cmp al, ah
jb 0x1c231e8
lea eax, [edx - 0x2b]
inc edx
cmp eax, ebx
jne 0x1c231cf
lea edx, [ecx + 0x2c]
mov eax, dword [ebp - 0x24]
cmp edx, eax
jne 0x1c231c8
jmp 0x1c2322e
mov edi, 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x1c232e3
mov edi, eax
cmp eax, 5
je 0x1c232ea
mov edi, 6
jmp 0x1c232ea
xor eax, eax
test ecx, ecx
setne al
lea edi, [eax*4 + 3]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 4
jbe 0x1c232e3
jmp 0x1c232ea
mov eax, dword [esi]
mov word [eax], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x14], 0
lea edi, [ebp - 0x20]
push edi
call fcn.01c42f2d
add esp, 4
mov ecx, edi
push str.ThirdParty
call fcn.01c3fb06
cmp byte [eax + 0xb], 0
jns 0x1c23278
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
push 2
call fcn.01c41634
add esp, 0x10
mov ebx, eax
cmp byte [ebp - 0x15], 0
jns 0x1c2329c
push dword [ebp - 0x20]
call fcn.01c92abc
add esp, 4
test bl, bl
je 0x1c232e0
push esi
push str.BlFilePath
push dword [ebp - 0x14]
call fcn.01c42602
add esp, 0xc
mov ebx, eax
push dword [ebp - 0x14]
call fcn.01c4242d
add esp, 4
test bl, bl
je 0x1c232e0
movzx eax, byte [esi + 0xb]
mov ecx, eax
test al, al
jns 0x1c232cf
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1c232e0
test al, al
jns 0x1c230da
jmp 0x1c230d8
xor edi, edi
inc edi
mov byte [0x1cf3cd8], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c92b01
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 4
jmp 0x1c2322e
test ebx, ebx
je 0x1c23315
push ebx
call fcn.01c92afc
add esp, 4
xor eax, eax
mov dword [0x1cf3cd4], eax
mov dword [0x1cf3cd0], eax
mov edi, 0xa
jmp 0x1c2322e
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
je 0x1c2322e
test ebx, ebx
je 0x1c23346
push ebx
call fcn.01c92afc
add esp, 4
xor eax, eax
mov dword [0x1cf3cd4], eax
mov dword [0x1cf3cd0], eax
mov edi, 0xb
jmp 0x1c2322e