Function at 0x100132b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov eax, dword [0x10123014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp ebx, 7
jbe 0x1001334c
mov eax, dword [ebp + 0xc]
cmp dword [eax], ebx
jne 0x1001334c
movzx edx, word [eax + 6]
xor esi, esi
test dx, dx
mov edi, eax
cmove edi, esi
test edi, edi
je 0x10013302
movzx ecx, word [edi + 4]
cmp ecx, 0x10
jb 0x10013349
cmp dword [edi], ecx
jb 0x10013349
test cl, 7
jne 0x10013349
lea esi, [ecx - 0x10]
sub ebx, ecx
add ecx, eax
jmp 0x10013308
add ebx, 0xfffffff8
lea ecx, [eax + 8]
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2c], dx
lea ecx, [edi + 8]
lea edx, [eax + 4]
test edi, edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
cmove ecx, edx
cmp esi, 0x103
ja 0x10013349
mov eax, esi
shr eax, 2
movzx edx, word [ecx]
mov ecx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x44], eax
cmp eax, edx
jb 0x10013349
cmp dword [ebp + 0x14], 1
jne 0x10013366
cmp word [ebp - 0x34], 0
je 0x10013366
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dea63
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, byte [0x10127b98]
cmp esi, 3
ja 0x10013447
lea eax, [ebx + 0x10]
cmp eax, 0xf8
ja 0x10013447
and cl, 1
je 0x10013447
xor eax, eax
cmp word [ebp - 0x2c], 0
setne al
lea esi, [ebx + eax*8]
add esi, 8
cmp esi, 0xf8
ja 0x10013447
mov dword [ebp - 0x28], eax
push 0x100
call fcn.100de068
add esp, 4
mov dword [eax], fcn.10014c10
xorps xmm0, xmm0
movups xmmword [eax + 0xc], xmm0
movups xmmword [eax + 0x1c], xmm0
movups xmmword [eax + 0x2c], xmm0
movups xmmword [eax + 0x3c], xmm0
movups xmmword [eax + 0x4c], xmm0
movups xmmword [eax + 0x5c], xmm0
movups xmmword [eax + 0x6c], xmm0
movups xmmword [eax + 0x7c], xmm0
movups xmmword [eax + 0x8c], xmm0
movups xmmword [eax + 0x9c], xmm0
movups xmmword [eax + 0xac], xmm0
movups xmmword [eax + 0xbc], xmm0
movups xmmword [eax + 0xcc], xmm0
movups xmmword [eax + 0xdc], xmm0
movups xmmword [eax + 0xec], xmm0
mov dword [eax + 0xfc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
movzx ecx, word [ebp - 0x2c]
mov word [eax + 0xe], cx
test cx, cx
je 0x10013440
mov ecx, dword [ebp - 0x28]
lea edx, [ecx*8 + 8]
lea ecx, [eax + 0xc]
mov word [ecx], dx
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x10013469
push 0x24
call fcn.100de068
add esp, 4
mov ecx, eax
movzx eax, word [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov edx, ebx
push eax
push dword [ebp - 0x44]
push ebx
call fcn.10013120
add esp, 0xc
test ebx, ebx
je 0x10013482
mov ecx, dword [ebp - 0x28]
call fcn.10013760
push ebx
push dword [ebp - 0x30]
push eax
call fcn.100e1250
add esp, 0xc
test edi, edi
je 0x10013502
mov edi, dword [ebp - 0x28]
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
cmp word [eax + 4], 0x10
je 0x100134e3
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp + 0xc]
add esi, 0x10
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
movzx eax, word [eax + 4]
add eax, 0xfffffff0
push eax
push esi
push dword [ebp - 0x2c]
call fcn.100e1250
add esp, 0xc
mov eax, dword [ebp - 0x3c]
movzx esi, word [eax]
mov eax, dword [edi]
mov ebx, edi
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov word [eax + 8], si
jmp 0x10013520
mov eax, dword [ebp - 0x38]
movzx esi, word [eax]
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov word [eax + 4], si
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1001367f
lea eax, [eax*4]
lea esi, [eax + eax*4]
push esi
call fcn.100de068
add esp, 4
mov edi, eax
mov dword [ebp - 0x2c], esi
add eax, esi
mov dword [ebp - 0x48], eax
xor esi, esi
nop word [eax + eax]
mov ecx, edi
add ecx, esi
je 0x1001371a
call fcn.1002ff40
add esi, 0x14
cmp dword [ebp - 0x2c], esi
jne 0x10013550
cmp word [ebp - 0x34], 0
je 0x100136eb
mov ebx, edi
xor edi, edi
mov dword [ebp - 0x40], ebx
jmp 0x100135c2
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x44]
call fcn.10080e78
mov esp, dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
call fcn.1002ff70
mov esp, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x34]
cmp edi, esi
jae 0x10013735
mov ecx, ebx
lea eax, [ebp - 0x24]
push eax
call fcn.10030060
lea ecx, [ebp - 0x24]
call fcn.100300f0
inc edi
add ebx, 0x14
cmp esi, edi
je 0x100136e5
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x20]
mov esi, dword [eax + edi*4]
push esi
call fcn.100303a0
add esp, 4
test al, al
jne 0x10013685
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x10013613
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], esp
push eax
push eax
mov eax, esp
push ecx
push esi
push eax
call fcn.100303c0
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.1002ff70
mov esp, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x34]
cmp edi, esi
jae 0x10013735
mov ebx, dword [ebp - 0x30]
jmp 0x100135a3
mov dword [ebp - 0x3c], esp
push eax
push eax
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
mov eax, esp
mov dword [eax], 0
test esi, esi
je 0x10013585
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
inc edx
cmp edx, 2
jb 0x10013666
mov dword [ebp - 0x4c], eax
call fcn.10060950
mov eax, dword [ebp - 0x38]
push dword [eax]
call fcn.1006d7a0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
add esp, 4
mov dword [ecx], 0
cmp esi, 0xffffffff
je 0x1001357b
mov dword [ecx], esi
mov esi, eax
call fcn.10060950
mov eax, esi
jmp 0x1001357b
xor edi, edi
xor ecx, ecx
jmp 0x100136ee
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x100136c0
mov esi, dword [ebp - 0x2c]
neg esi
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
add ebx, 0xffffffec
mov ecx, ebx
call fcn.100300f0
add ebx, 0xffffffec
add esi, 0x14
jne 0x100136a6
push dword [ebp - 0x40]
call fcn.100de098
add esp, 4
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x10013352
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 1
call edi
mov edi, dword [ebp + 8]
jmp 0x10013352
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
mov esi, esp
sub esp, 0xc
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov esp, esi
mov edi, dword [ebp + 8]
mov dword [edi], ebx
jmp 0x10013352
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x23
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.1003963c
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x587
push str....._buildtools_third_partylibc_trunkinclude_vector
push str._s:_d:_assertion__s_failed:__s
call fcn.1003963c
int3