Function at 0x12e93f00
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13062adc
push eax
mov dword fs:[0], esp
sub esp, 0x654
push ebx
push ebp
push edi
mov edi, dword [esp + 0x670]
xor ebx, ebx
mov ebp, ecx
cmp edi, ebx
jne 0x12e93f34
xor eax, eax
jmp 0x12e9445e
mov eax, dword [0x13199068]
mov dword [esp + 0x10], ebx
cmp eax, ebx
mov dword [esp + 0xc], ebx
je 0x12e93f5a
push edi
push str.CSpacialUpLoadLog::GitAnlyzeIndexFile__lpszFilePath_:__s_
push str.UpLoadFile
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
cmp dword [ebp + 0x71c], ebx
je 0x12e93f6a
cmp dword [ebp + 0x6e8], ebx
je 0x12e93f7f
lea eax, [ebp + 0x720]
mov ecx, ebp
push eax
push edi
call fcn.12e94780
mov dword [ebp + 0x71c], eax
push esi
lea esi, [ebp + 0x6ec]
push 1
push esi
lea ecx, [esp + 0x30]
call fcn.12f56170
mov eax, dword [0x13199068]
mov dword [esp + 0x66c], 0
test eax, eax
je 0x12e93fc1
mov eax, dword [ebp + 0x710]
push eax
push str.CSpacialUpLoadLog::GitAnlyzeIndexFile_1__filecount_:__d_
push str.UpLoadFile
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov eax, dword [ebp + 0x710]
mov dword [esp + 0x66c], 0xffffffff
test eax, eax
lea ecx, [esp + 0x28]
je 0x12e94478
call fcn.12f561d0
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x12e9440e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [0x13199068]
test eax, eax
mov dword [esp + 0x20], edi
je 0x12e94036
push edi
push str.CSpacialUpLoadLog::GitAnlyzeIndexFile_2__dwFileSize_:__d_
push str.UpLoadFile
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
test edi, edi
je 0x12e9440e
cmp edi, 0x6400000
jae 0x12e9440e
push edi
call fcn.12f5c05b
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x12e9440e
mov ecx, edi
mov edi, dword [esp + 0x10]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x13199068]
test eax, eax
je 0x12e94092
push str.CSpacialUpLoadLog::GitAnlyzeIndexFile_3
push str.UpLoadFile
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push 0
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x12e9440e
mov eax, dword [0x13199068]
test eax, eax
je 0x12e940e0
mov ecx, dword [esp + 0x24]
push ecx
push str.CSpacialUpLoadLog::GitAnlyzeIndexFile_4__dwRead_:__d_
push str.UpLoadFile
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea ecx, [esp + 0x3c]
call fcn.12f4cc70
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x674], 1
call fcn.12f4cce0
push 1
push esi
lea ecx, [esp + 0x30]
call fcn.12f56170
lea esi, [ebp + 0x70c]
lea ecx, [esp + 0x3c]
push esi
mov byte [esp + 0x670], 2
call fcn.12f4d000
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.12f4cce0
lea ecx, [esp + 0x28]
mov byte [esp + 0x66c], 1
call fcn.12f561d0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x256]
mov word [esp + 0x254], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x40]
stosw word es:[edi], ax
mov eax, dword [esp + 0x674]
mov dword [esp + 0x18], edx
push eax
call fcn.12f5c51d
push str..gitindex
mov esi, eax
call fcn.12f5c51d
add esp, 8
cmp esi, eax
jb 0x12e943fa
sub esi, eax
xor ebx, ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x66c], 3
mov dword [esp + 0x1c], edi
jbe 0x12e943f5
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x254]
push 0x104
push edx
mov eax, dword [ecx + edi*4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.12e94480
cmp eax, ebx
je 0x12e943e4
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x45e]
mov word [esp + 0x45c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4e]
mov word [esp + 0x4c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x254]
push eax
call fcn.12f5c51d
lea ecx, [eax + esi + 1]
add esp, 4
cmp ecx, 0x104
jae 0x12e94273
mov edx, dword [esp + 0x674]
push esi
lea eax, [esp + 0x460]
push edx
push eax
call fcn.12f5c57b
lea ecx, [esp + 0x468]
push 0x130c4ed0
push ecx
call fcn.12f5c935
lea edx, [esp + 0x268]
lea eax, [esp + 0x470]
push edx
push eax
call fcn.12f5c935
add esp, 0x1c
mov eax, dword [ebp + 0x724]
xor esi, esi
test eax, eax
jle 0x12e94378
mov ecx, dword [ebp + 0x720]
lea eax, [esp + 0x4c]
push eax
mov edx, dword [ecx + esi*4]
mov edi, dword [edx - 8]
call fcn.12f5c51d
add eax, edi
add esp, 4
cmp eax, 0xff
jae 0x12e94300
test esi, esi
je 0x12e942bb
lea ecx, [esp + 0x4c]
push 0x130c6c74
push ecx
call fcn.12f5c935
add esp, 8
mov edx, dword [ebp + 0x720]
mov eax, dword [edx + esi*4]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.12f5c935
lea ecx, [esp + 0x54]
push 0x130b7770
push ecx
call fcn.12f5c935
lea edx, [esp + 0x264]
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.12f5c935
mov eax, dword [ebp + 0x724]
add esp, 0x18
inc esi
cmp esi, eax
jl 0x12e94283
jmp 0x12e94370
lea ecx, [esp + 0x4c]
push ecx
call fcn.12f5c51d
add esp, 4
cmp eax, 0xff
jae 0x12e94370
lea edx, [esp + 0x4c]
push str._...
push edx
call fcn.12f5c935
lea eax, [esp + 0x54]
push eax
call fcn.12f5c51d
add esp, 0xc
cmp eax, 4
jne 0x12e94370
lea ecx, [esp + 0x254]
push ecx
call fcn.12f5c51d
add esp, 4
cmp eax, 0xff
jae 0x12e94370
lea edx, [esp + 0x4c]
push 0x130b7770
push edx
call fcn.12f5c935
lea eax, [esp + 0x25c]
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.12f5c935
add esp, 0x10
mov eax, dword [ebp + 0x724]
test eax, eax
jne 0x12e9439e
mov eax, dword [ebp + 0x764]
test eax, eax
je 0x12e943f5
lea edx, [esp + 0x254]
push 0x103
lea eax, [esp + 0x50]
push edx
push eax
call fcn.12f5c57b
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
call fcn.12f5c51d
add esp, 4
test eax, eax
jle 0x12e943c4
lea ecx, [esp + 0x4c]
cmp word [ecx], 0x5c
jne 0x12e943be
mov word [ecx], 0x2f
add ecx, 2
dec eax
jne 0x12e943b3
lea edx, [esp + 0x4c]
lea eax, [esp + 0x45c]
push edx
push eax
push 1
mov ecx, ebp
call fcn.12e94a50
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
mov dword [esp + 0x1c], edi
jb 0x12e941bb
mov ebx, 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x66c], 0xffffffff
call fcn.12f4cc80
mov eax, dword [0x13199068]
pop esi
test eax, eax
je 0x12e9443c
mov ecx, dword [ebp + 0x71c]
mov edx, dword [esp + 0x670]
push ecx
push edx
push ebx
push str.CSpacialUpLoadLog::GitAnlyzeIndexFile__bRet_:__d___lpszFilePath_:__s___m_bNetwork_:__d_
push str.UpLoadFile
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
mov eax, dword [esp + 0xc]
test eax, eax
je 0x12e9444d
push eax
call fcn.12f5c050
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x12e9445c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [esp + 0x660]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x660
ret 4
call fcn.12f561d0
jmp 0x12e9440e