Function at 0x11d56f60
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fa9ae0
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
cmp esi, 0xffffffff
je 0x11d571ad
mov ebx, dword [esp + 0x54]
xor ebp, ebp
cmp ebx, ebp
je 0x11d571ad
push edi
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x11d57196
mov eax, dword [esp + 0x34]
test eax, eax
jbe 0x11d57196
push ebp
push ebp
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x34]
test edi, edi
je 0x11d56fe4
cmp edi, ebp
ja 0x11d56fe4
mov ebp, edi
lea ecx, [esp + 0x54]
push 0
push ecx
push ebp
push ebx
push esi
mov dword [esp + 0x68], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x11d57002
xor ebp, ebp
mov ecx, dword [esp + 0x54]
cmp ebp, ecx
je 0x11d5700c
xor ebp, ebp
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d57038
mov edx, dword [esp + 0x34]
mov eax, dword [0x12126854]
push ebp
push ecx
push edx
push edi
push esi
push eax
push str.__s__CSafeTracking::ReadFileContent_hFile_0x_08x__dwReadSize__lu__nFileSizeLow__lu__dwNumberOfBytesRead__lu__dwSize__lu__n
push str.SafeTracking_test
push 2
call fcn.11ca5810
add esp, 0x24
test ebp, ebp
jbe 0x11d57196
mov cl, byte [ebx + 2]
xor eax, eax
mov ah, byte [ebx]
lea esi, [ebx + 2]
mov al, byte [ebx + 1]
mov edi, ebx
cmp eax, 0xfffe
je 0x11d57112
cmp eax, 0xfeff
je 0x11d57112
cmp eax, 0xefbb
jne 0x11d57077
cmp cl, 0xbf
jne 0x11d57077
lea edi, [ebx + 3]
sub ebp, 3
push edi
lea ecx, [esp + 0x58]
call fcn.11e7e980
mov eax, dword [0x12133f80]
mov dword [esp + 0x4c], 0
test eax, eax
je 0x11d570b6
mov eax, dword [esp + 0x54]
mov edx, dword [0x12126854]
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
push str.__s__CSafeTracking::ReadFileContent_1_wstrContent__s__Len__lu__n
push str.SafeTracking_test
push 2
call fcn.11ca5810
add esp, 0x18
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
mov edi, ebx
lea ecx, [eax + eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi - 8]
mov edi, ebx
lea ecx, [eax + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call fcn.11e7f280
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
push esi
lea ecx, [esp + 0x58]
call fcn.11e7eae0
mov eax, dword [0x12133f80]
mov dword [esp + 0x4c], 1
test eax, eax
je 0x11d57151
mov eax, dword [esp + 0x54]
mov edx, dword [0x12126854]
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
push str.__s__CSafeTracking::ReadFileContent_2_wstrContent__s__Len__lu__n
push str.SafeTracking_test
push 2
call fcn.11ca5810
add esp, 0x18
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
xor eax, eax
mov edi, ebx
lea ecx, [ecx + ecx + 2]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi - 8]
mov edi, ebx
lea ecx, [eax + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call fcn.11e7f280
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc
mov ecx, dword [esp + 0x40]
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc