Function at 0x10013d26
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb84
mov eax, dword [0x1003e620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 8]
lea edx, [eax + 5]
push esi
mov ecx, eax
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x240], edx
cmp eax, edx
jae 0x100143ce
mov edi, edi
lea eax, [ecx - 0x2d]
cmp eax, 6
ja case.0x10013d0c.48
jmp dword [eax*4 + 0x10014438]
xor eax, eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x238], eax
jmp case.0x10013d0c.48
mov edx, dword [ebp - 0x224]
push 0x9e
lea ecx, [ebp - 0x20c]
push ecx
push edx
call fcn.10006880
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push bind
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x21c], esi
cmp esi, 0xffffffff
je 0x10013f2a
mov ebx, 0x1d
mov dword [ebp - 0x210], ebx
lea esp, [esp]
mov eax, ebx
sub eax, 0x1d
je 0x10013ebd
dec eax
jne 0x10013f15
lea ecx, [ebp - 0xb84]
push ecx
push edi
push 0xd2
call fcn.10022960
add esp, 0xc
mov dword [ebp - 0x23c], eax
test eax, eax
mov eax, dword [ebp - 0xb80]
jne 0x10013e99
test eax, eax
jne 0x10013e99
mov eax, 0x29
mov ecx, eax
sub ecx, 0x29
je 0x10013de5
dec ecx
jne 0x10013e7d
mov dword [ebp - 0x230], 0x32
jmp 0x10013e7d
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x20c]
push eax
push str.V1068_WeightIdx_WeightIdx
call fcn.10026fc6
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push 0
lea ecx, [ebp - 0xb84]
push ecx
push 0x800
lea edx, [ebp - 0xb80]
push edx
push esi
call ebx
test eax, eax
je 0x10013e78
xor eax, eax
cmp dword [ebp - 0xb84], eax
push edi
sete al
push 0x3e
lea ecx, [ebp - 0xb84]
push 0
push ecx
mov esi, eax
call fcn.10023b10
add esp, 0x10
mov dword [ebp - 0x23c], eax
test eax, eax
jne 0x10013e72
test esi, esi
jne 0x10013e72
mov ecx, dword [ebp - 0x21c]
push esi
lea edx, [ebp - 0xb84]
push edx
push 0x800
lea eax, [ebp - 0xb80]
push eax
push ecx
call ebx
test eax, eax
jne 0x10013e22
mov esi, dword [ebp - 0x21c]
mov eax, 0x29
inc eax
cmp eax, 0x2b
jb 0x10013dc8
mov ebx, dword [ebp - 0x210]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10013f15
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edx, [ebp - 0x108]
push edx
push str.icudt51l_zone_tzm_MA.res
call fcn.10002df0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10013f15
loope 0x10013e43
jle 0x10013e78
arpl word [ebp - 0x1077b], cx
call dword [eax - 1]
adc eax, sym.imp.KERNEL32.dll_lstrlenW
push 0x103
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0xb7c]
add eax, 4
push edx
mov dword [ebp - 0xb84], eax
mov dword [ebp - 0xb80], 2
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push edi
push 0x3e
lea eax, [ebp - 0xb84]
push 0
push eax
call fcn.10023b10
add esp, 0x10
mov dword [ebp - 0x23c], eax
inc ebx
mov dword [ebp - 0x210], ebx
cmp ebx, 0x1f
jb 0x10013d80
jmp case.0x10013d0c.48
lea ecx, [ebp - 0x20c]
push ecx
push str.Instruction_ID__
call fcn.10002df0
add esp, 8
jmp case.0x10013d0c.48
mov edx, dword [edi]
push 0x2e
lea eax, [ebp - 0x210]
xor esi, esi
push eax
push esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], edx
call fcn.10006010
add esp, 0xc
sub eax, esi
je 0x1001415f
dec eax
je 0x10013f82
dec eax
je 0x10014114
jmp 0x100143ab
mov ebx, 0x48
mov dword [ebp - 0x210], ebx
lea ecx, [ecx]
cmp ebx, 0x48
je 0x10013fa6
cmp ebx, 0xcd
je 0x100143ab
jmp 0x100140fa
mov ecx, dword [edi]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
push 0xcb
mov dword [ebp - 0x21c], ecx
call fcn.10001cb0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x228], esi
test esi, esi
jne 0x10014401
mov ecx, dword [ebp - 0x218]
or ecx, dword [ebp - 0x214]
je 0x100140ee
mov ebx, 0x97
mov eax, ebx
sub eax, 0x96
je 0x100140aa
dec eax
jne 0x100140d9
mov edx, dword [edi]
lea eax, [ebp - 0x21c]
push eax
push 0xad
push 0
mov dword [ebp - 0x21c], edx
call fcn.10005ef0
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x21c], edx
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x258], ecx
lea ecx, [ebp - 0x258]
push ecx
mov dword [ebp - 0x254], edx
mov esi, eax
mov eax, dword [edi]
lea edx, [ebp - 0x21c]
push 0x5e
push edx
mov dword [ebp - 0x21c], eax
call fcn.10008530
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x214]
push esi
mov dword [ebp - 0x250], ecx
mov ecx, dword [ebp - 0x224]
push ecx
push 0x6e
mov dword [ebp - 0x24c], edx
push eax
lea edx, [ebp - 0x250]
push edx
mov dword [ebp - 0x238], eax
call fcn.10024330
mov esi, eax
add esp, 0x2c
mov dword [ebp - 0x228], esi
test esi, esi
je 0x100140d9
push str.__1CvBlobTrackAnalysisOne__UAE_XZ
jmp 0x10014256
rcl byte [ebx + esi*8 + 0x78b86cc], 0x8b
xchg ebp, eax
enter 0xfffffffffffffffd, 0xffffffffffffffff
lea ecx, [ebp - 0x248]
push ecx
push edx
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
push 0xb0
push eax
call fcn.1000a8f0
add esp, 0x10
dec ebx
cmp ebx, 0x95
ja 0x10013ff0
mov ebx, dword [ebp - 0x210]
jmp 0x100140fa
mov ecx, dword [ebp - 0x224]
mov dword [ecx], 0
add ebx, 0x85
mov dword [ebp - 0x210], ebx
cmp ebx, 0x152
jb 0x10013f90
xor esi, esi
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
cmp eax, esi
je 0x10014154
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
push eax
push 0x58
call fcn.1000ee30
mov esi, eax
add esp, 8
mov dword [ebp - 0x228], esi
test esi, esi
jne 0x1001440b
mov ecx, dword [ebp - 0x224]
mov dword [ecx], eax
jmp 0x100143ab
mov dword [ebp - 0x228], esi
jmp 0x100143ab
mov eax, 0x79
mov dword [ebp - 0x210], eax
jmp 0x10014172
xor esi, esi
sub eax, 0x77
je 0x10014284
dec eax
je 0x10014243
dec eax
jne 0x10014395
mov edx, dword [ebp - 0x224]
mov byte [ebp - 0x234], al
cmp dword [edx], esi
jne 0x100141a7
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
jmp 0x10014215
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
push 0xe6
push ecx
mov dword [ebp - 0x21c], eax
call fcn.10005130
mov esi, edx
mov edx, dword [ebp - 0x224]
mov ebx, eax
mov eax, dword [edx]
push 1
push eax
call fcn.10007d10
add esp, 0x10
cmp esi, edx
jb 0x100141ea
ja 0x100141e1
cmp ebx, eax
jbe 0x100141ea
mov byte [ebp - 0x234], 1
jmp 0x100141f1
mov byte [ebp - 0x234], 0
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
push ecx
push eax
call fcn.10007d10
add esp, 8
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], edx
mov ecx, dword [edi]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
push 0xcb
mov dword [ebp - 0x21c], ecx
call fcn.10001cb0
add esp, 0xc
mov dword [ebp - 0x228], eax
jmp 0x10014395
mov esi, dword [ebp - 0x228]
test esi, esi
je 0x10014395
push str.refreshdir
push 0x1003455f
push 0
push 0x1003455f
push 0x100345f0
push 2
call fcn.100021f0
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x218]
or ecx, dword [ebp - 0x214]
je 0x10014395
mov ebx, 0xd7
jmp 0x100142a0
cmp ebx, 0xd7
je 0x100142e3
cmp ebx, 0x5d39
jne 0x10014383
mov edx, dword [edi]
mov ecx, dword [ebp - 0x238]
lea eax, [ebp - 0x248]
push eax
push ecx
mov dword [ebp - 0x21c], edx
lea edx, [ebp - 0x21c]
push 0xb0
push edx
call fcn.1000a8f0
add esp, 0x10
jmp 0x10014383
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x214]
mov edx, dword [edi]
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x25c], ecx
lea ecx, [ebp - 0x21c]
push 0x5e
push ecx
mov dword [ebp - 0x21c], edx
call fcn.10008530
mov edx, dword [ebp - 0x224]
mov ecx, dword [edx]
mov dl, byte [ebp - 0x234]
push eax
mov dword [ebp - 0x21c], ecx
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x22c], dl
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x248]
push eax
mov dword [ebp - 0x248], ecx
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x244], edx
push ecx
lea edx, [ebp - 0x22c]
push edx
push 0xc8
call fcn.10011b20
mov esi, eax
add esp, 0x20
mov dword [ebp - 0x228], esi
test esi, esi
jne 0x10014415
add ebx, 0x5c62
cmp ebx, 0xb8c4
jbe 0x100142a0
mov eax, dword [ebp - 0x210]
dec eax
mov dword [ebp - 0x210], eax
cmp eax, 0x76
ja 0x10014170
mov dword [ebp - 0x230], 0x2e
mov ecx, dword [ebp - 0x230]
inc ecx
mov dword [ebp - 0x230], ecx
cmp ecx, dword [ebp - 0x240]
jb 0x10013d00
mov eax, dword [ebp - 0x240]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
cwde
push esi
dec eax
jns 0x100143ee
mov eax, dword [ebp - 0x228]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027670
mov esp, ebp
pop ebp
ret
invalid
push str._duration_
jmp 0x10014256
push str.GrbActor_massFromParticles
jmp 0x10014256
push str.Could_not_serialize_bulk_handle
jmp 0x10014256
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x23c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027670
mov esp, ebp
pop ebp
ret