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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x1cff040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d1b0d8]
mov ecx, dword [0x1d1a468]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x1c32cb0
push 0x1d1b0d8
call fcn.01c86cf1
add esp, 4
cmp dword [0x1d1b0d8], 0xffffffff
jne 0x1c32cb0
push 0xc
call fcn.01c86c86
add esp, 4
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [0x1d1b0d4], eax
push 0x1d1b0d8
call fcn.01c86d6b
add esp, 4
mov edi, dword [0x1d1b0d4]
movsx eax, byte [edi + 0xb]
mov ecx, eax
test eax, eax
jns 0x1c32cc3
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x1c32d87
test al, al
js 0x1c32ddf
mov word [edi], 0
mov byte [edi + 0xb], 0
mov dword [ebp - 0x14], 0
lea esi, [ebp - 0x20]
push esi
call fcn.01c3cef0
add esp, 4
mov ebx, str.ThirdParty
push ebx
call fcn.01ca0524
add esp, 4
mov ecx, esi
push eax
push ebx
call fcn.01c66260
cmp byte [eax + 0xb], 0
jns 0x1c32d0e
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
push 2
call fcn.01c3a410
add esp, 0x10
mov ebx, eax
cmp byte [ebp - 0x15], 0
jns 0x1c32d32
push dword [ebp - 0x20]
call fcn.01c86cb6
add esp, 4
test bl, bl
je 0x1c32d58
push edi
push str.BlFilePath
push dword [ebp - 0x14]
call fcn.01c3b8b0
add esp, 0xc
mov ebx, eax
push dword [ebp - 0x14]
call fcn.01c3b4b0
add esp, 4
test bl, bl
jne 0x1c32d76
xor edi, edi
inc edi
mov byte [0x1d1b0d0], 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c87bd3
mov eax, edi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
movsx eax, byte [edi + 0xb]
mov ecx, eax
test eax, eax
jns 0x1c32d83
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1c32d58
test al, al
jns 0x1c32d8d
mov edi, dword [edi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cea410]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1c32f74
mov edi, 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 2]
cmp ecx, 2
jb 0x1c32d5b
mov edi, eax
cmp eax, 5
je 0x1c32d62
mov edi, 6
jmp 0x1c32d62
mov eax, dword [edi]
mov word [eax], 0
mov dword [edi + 4], 0
jmp 0x1c32cdc
mov edi, 7
test eax, eax
jne 0x1c33023
mov edi, 3
jmp 0x1c32e0b
mov edi, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c32d5b
cmp dword [ebp - 0x14], edi
jne 0x1c32ffe
mov eax, dword [0x1d1b0c8]
xor edi, edi
cmp eax, 2
jb 0x1c32e0b
imul eax, eax, 0x2c
mov dword [ebp - 0x24], eax
mov al, byte [ecx]
mov edx, 0x2c
mov bh, al
mov al, byte [ecx + edx]
mov bl, al
cmp al, bh
je 0x1c32e57
cmp bl, bh
jae 0x1c32f63
cmp dword [ebp - 0x24], edx
jne 0x1c33005
jmp 0x1c32e0b
mov bh, byte [ecx + edx - 0x2b]
mov bl, byte [ecx + edx + 1]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x2a]
mov bl, byte [ecx + edx + 2]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x29]
mov bl, byte [ecx + edx + 3]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x28]
mov bl, byte [ecx + edx + 4]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x27]
mov bl, byte [ecx + edx + 5]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x26]
mov bl, byte [ecx + edx + 6]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x25]
mov bl, byte [ecx + edx + 7]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x24]
mov bl, byte [ecx + edx + 8]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x23]
mov bl, byte [ecx + edx + 9]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x22]
mov bl, byte [ecx + edx + 0xa]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x21]
mov bl, byte [ecx + edx + 0xb]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x20]
mov bl, byte [ecx + edx + 0xc]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x1f]
mov bl, byte [ecx + edx + 0xd]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x1e]
mov bl, byte [ecx + edx + 0xe]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x1d]
mov bl, byte [ecx + edx + 0xf]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x1c]
mov bl, byte [ecx + edx + 0x10]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x1b]
mov bl, byte [ecx + edx + 0x11]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x1a]
mov bl, byte [ecx + edx + 0x12]
cmp bl, bh
jne 0x1c32e44
mov bh, byte [ecx + edx - 0x19]
mov bl, byte [ecx + edx + 0x13]
cmp bl, bh
jne 0x1c32e44
add edx, 0x2c
cmp dword [ebp - 0x24], edx
jne 0x1c32e39
jmp 0x1c32e0b
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]
test eax, eax
sete cl
mov eax, dword [ebx]
cmp eax, 8
setne dl
or dl, cl
cmp dl, 1
je 0x1c32df2
mov edi, 8
cmp dword [ebp - 0x20], 1
jne 0x1c33023
mov eax, dword [ebp - 0x1c]
mov dword [0x1d1b0c8], eax
test eax, eax
je 0x1c32e06
mov edi, 9
cmp eax, 0x5d1745d
ja 0x1c33023
imul edi, eax, 0x2c
push edi
call fcn.01c86ce3
add esp, 4
mov dword [0x1d1b0cc], eax
push 0
push ebx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x1d1b0cc]
test eax, eax
jne 0x1c32e17
mov edi, 0xa
jmp 0x1c3300a
mov edi, 0xb
test ecx, ecx
je 0x1c33017
push ecx
call fcn.01c86cec
add esp, 4
xor eax, eax
mov dword [0x1d1b0cc], eax
mov dword [0x1d1b0c8], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1c32d62