Function at 0x100a1110
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x1012d431
mov eax, dword fs:[0]
push eax
sub esp, 0x7b0
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x7a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x7c4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x7e4]
mov ebp, dword [esp + 0x7e0]
mov eax, dword [esp + 0x7d8]
mov edi, dword [esp + 0x7d4]
push esi
push ebp
mov ebx, edx
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7e8]
mov dword [esp + 0x30], ecx
push edi
mov ecx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
call fcn.100a30e0
test al, al
jne 0x100a11b5
mov ecx, edi
call fcn.100619a0
push 0x10149a3c
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
xor al, al
jmp 0x100a15df
push 0x206
xor edi, edi
lea edx, [esp + 0x5ba]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x5c0], cx
call fcn.100d6e40
add esp, 0xc
cmp dword [esi], edi
mov dword [esp + 0x1c], edi
jle 0x100a15dd
mov dword [esp + 0x18], edi
mov eax, dword [ebp]
lea esi, [eax + edi]
movzx eax, word [esi]
test ax, ax
jne 0x100a121f
cmp byte [ebx + 0x88c], al
lea eax, [ebx + 0x77c]
jne 0x100a1209
mov eax, dword [ebx + 0x778]
mov ecx, dword [esi + 6]
mov edx, dword [esi + 2]
push ecx
push edx
add eax, 4
push eax
push str._s_d_d.png
jmp 0x100a12d2
cmp ax, 1
jne 0x100a12e7
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x53e]
push edx
mov word [esp + 0x540], cx
call fcn.100d6e40
add esp, 0xc
xor eax, eax
push 0x7e
push eax
lea ecx, [esp + 0x4be]
push ecx
mov word [esp + 0x4c0], ax
call fcn.100d6e40
mov eax, dword [esi + 2]
movsx edx, word [eax]
add esp, 0xc
push edx
add eax, 2
push eax
lea eax, [esp + 0x53c]
push 0x80
push eax
call fcn.100d07bb
mov ecx, dword [ebp]
mov eax, dword [ecx + edi + 6]
movsx edx, word [eax]
push edx
add eax, 2
push eax
lea eax, [esp + 0x4cc]
push 0x80
push eax
call fcn.100d07bb
add esp, 0x20
cmp byte [ebx + 0x88c], 0
lea eax, [ebx + 0x77c]
jne 0x100a12b9
mov eax, dword [ebx + 0x778]
lea ecx, [esp + 0x4b4]
push ecx
lea edx, [esp + 0x538]
push edx
add eax, 4
push eax
push str._s_s_s.png
lea eax, [esp + 0x5c4]
push 0x104
push eax
call fcn.100cfe69
add esp, 0x18
mov ecx, dword [ebp]
lea eax, [ecx + edi]
movzx ecx, word [eax]
xor edx, edx
cmp cx, dx
je 0x100a130c
cmp cx, 1
je 0x100a130c
mov dword [eax + 0x1c], edx
mov eax, dword [ebp]
mov dword [eax + edi + 0x20], edx
jmp 0x100a15c1
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 4]
cmp edi, edx
je 0x100a1323
call fcn.100658f0
mov dword [esi + 4], 0
or eax, 0xffffffff
lea edi, [esp + 0x168]
mov dword [esp + method.t_file.virtual_0], vtable.t_file.0
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
call fcn.10062500
xor edi, edi
cmp dword [esp + 0x288], edi
je 0x100a135d
mov dword [esp + 0x288], edi
mov ecx, 1
lea esi, [esp + 0x170]
mov dword [esp + 0x16c], edi
call fcn.100632f0
cmp byte [esp + 0x284], 0
lea eax, [esp + 0x174]
jne 0x100a138d
mov eax, dword [esp + 0x170]
xor ecx, ecx
mov word [eax + 4], cx
xor edx, edx
mov dword [esp + 0x290], edi
mov dword [esp + 0x49c], 8
mov word [esp + 0x294], dx
mov dword [esp + method.t_path::t_mutex.virtual_0], vtable.t_path::t_mutex.0
mov dword [esp + 0x4a0], 0x10145ef0
mov dword [esp + 0x4a4], edi
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x4a8], 0x101474dc
mov dword [esp + 0x4ac], edi
mov dword [esp + 0x4b0], edi
mov dword [esp + 0x7cc], edi
lea edi, [esp + 0x38]
call fcn.10062500
lea ebx, [esp + 0x5b4]
mov eax, ebx
test eax, eax
jne 0x100a1412
mov ebx, 0x1013c8bc
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100a1417
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x40]
mov dword [esp + 0x3c], eax
call fcn.100632f0
cmp byte [esp + 0x154], 0
lea eax, [esp + 0x44]
jne 0x100a144a
mov eax, dword [esp + 0x40]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebx
push eax
call fcn.100d6ec0
add esp, 0xc
mov ebx, dword [esp + 0x30]
xor edi, edi
push edi
push ebx
lea edx, [esp + 0x164]
push edx
lea eax, [esp + 0x44]
mov byte [esp + 0x7d8], 2
call fcn.1006c9a0
test al, al
jne 0x100a148b
mov eax, dword [esp + 0x4ac]
xor cl, cl
jmp 0x100a14c2
mov ecx, dword [esp + 0x160]
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100a14b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x100a14b7
xor eax, eax
jmp 0x100a14b9
mov eax, esi
mov dword [esp + 0x4ac], eax
mov cl, 1
test cl, cl
mov byte [esp + 0x7cc], 0
sete byte [esp + 0x17]
cmp byte [esp + 0x154], 0
mov dword [esp + 0x38], vtable.t_str.0
jne 0x100a14ff
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x44]
cmp ecx, edx
je 0x100a14ff
push ecx
call fcn.100cf89b
mov eax, dword [esp + 0x4b0]
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x100a1609
sub eax, dword [esp + 0x4b0]
mov ecx, dword [ebp]
mov esi, dword [esp + 0x18]
mov dword [ecx + esi + 0x20], eax
mov edx, dword [ebp]
mov eax, dword [edx + esi + 0x20]
mov ecx, dword [esp + 0x24]
push eax
call fcn.10001ee0
mov ecx, dword [ebp]
mov dword [ecx + esi + 0x1c], eax
mov edx, dword [ebp]
mov ecx, dword [edx + esi + 0x20]
lea eax, [edx + esi]
mov edx, dword [eax + 0x1c]
push ecx
push edx
push ebx
lea ecx, [esp + 0x4b4]
call fcn.1006e780
test al, al
jne 0x100a1569
mov eax, dword [ebp]
mov dword [eax + esi + 0x1c], edi
mov ecx, dword [ebp]
mov dword [ecx + esi + 0x20], edi
mov ecx, ebx
call fcn.100619f0
lea edx, [esp + 0x15c]
push edx
call fcn.1006cbc0
push ebx
mov edi, 0x10166c78
call fcn.100657b0
test al, al
je 0x100a158c
mov eax, dword [esp + 0x20]
mov dword [eax + 4], edi
mov dword [esp + 0x7cc], 0xffffffff
lea ecx, [esp + 0x15c]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x4a8], 0x10147794
call fcn.1006c8d0
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc eax
add edi, 0x24
cmp eax, dword [ecx]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
jl 0x100a11e7
mov al, 1
mov ecx, dword [esp + 0x7c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7a8]
xor ecx, esp
call fcn.100cf604
add esp, 0x7bc
ret 0x14
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp]
lea eax, [eax + eax*8]
add eax, eax
add eax, eax
mov dword [eax + edx + 0x1c], edi
mov ecx, dword [ebp]
mov dword [eax + ecx + 0x20], edi
mov ecx, ebx
call fcn.100619f0
lea edx, [esp + 0x15c]
push edx
call fcn.1006cbc0
push ebx
mov edi, 0x10166c78
call fcn.100657b0
test al, al
je 0x100a164c
mov eax, dword [esp + 0x20]
mov dword [eax + 4], edi
mov ecx, ebx
call fcn.100619a0
push 0x10149c6c
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
mov dword [esp + 0x7d4], 0xffffffff
add esp, 8
lea ecx, [esp + 0x15c]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x4a8], 0x10147794
call fcn.1006c8d0
xor al, al
jmp 0x100a15df