Function at 0x100099f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x10014d4a
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x1001c048]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push esi
push edi
mov eax, dword [0x1001c048]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
push 0x3c
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], edi
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, edi
je 0x1000a1c4
mov dword [esp + 0x34], eax
mov dword [eax], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 8], eax
mov ecx, dword [esp + 0x34]
mov byte [ecx + 0x38], 1
mov edx, dword [esp + 0x34]
mov byte [edx + 0x39], 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c0], edi
lea eax, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x28], vtable.AppInfoNotifier.0
mov dword [esp + 0x2c], eax
call fcn.100107c0
add esp, 4
lea ecx, [edi + 8]
test al, al
je 0x10009d73
mov eax, dword [0x1001c764]
mov dword [0x1001c774], edi
cmp dword [0x1001c778], ecx
jae 0x10009ac4
mov eax, 0x1001c764
xor edx, edx
mov word [eax], dx
mov eax, dword [0x1001c780]
mov dword [0x1001c790], edi
cmp dword [0x1001c794], ecx
jae 0x10009ae1
mov eax, 0x1001c780
lea edx, [esp + 0x30]
xor ecx, ecx
pxor xmm0, xmm0
push edx
lea esi, [esp + 0x68]
mov word [eax], cx
movdqa xmmword [esp + 0x68], xmm0
call fcn.1000dc00
mov byte [esp + 0x23], al
xor eax, eax
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
push eax
lea edi, [esp + 0x44]
mov byte [esp + 0x2c4], 1
call fcn.1000ddc0
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
add esp, 4
push ebx
mov edi, 0x10017b28
call fcn.1000a950
add esp, 4
cmp eax, ebx
je 0x10009b5a
push edi
push ebx
call fcn.1000a8c0
add esp, 8
cmp eax, ebx
je 0x10009b5a
mov ebx, eax
mov dword [esp + 0x44], ebx
cmp byte [esp + 0x1f], 0
je 0x10009b95
mov eax, dword [esp + 0x40]
push ebx
lea edi, [esp + 0x68]
call fcn.1000a950
add esp, 4
cmp eax, ebx
je 0x10009b82
mov ecx, edi
push ecx
push ebx
call fcn.1000a8c0
add esp, 8
push ebx
push eax
lea eax, [esp + 0x2c]
lea edi, [esp + 0x48]
call fcn.1000a4b0
mov ebx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
lea edx, [esp + 0x20]
push edx
mov esi, 0x10017b28
mov eax, 0x1001cdd4
mov byte [esp + 0x2c4], 2
call fcn.10001b60
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0x1c]
cmp eax, dword [0x1001cdd8]
jne 0x10009bde
lea ecx, [esp + 0x80]
movq xmm0, qword [0x10017b28]
mov edi, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [0x10017b30]
push 0
movq qword [eax + 8], xmm0
push ecx
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call fcn.10009310
add esp, 0x1c
cmp byte [esp + 0x1f], 0
je 0x10009c39
lea ecx, [esp + 0x24]
push ecx
lea esi, [esp + 0x68]
mov eax, 0x1001cdd4
call fcn.10001b60
mov eax, dword [eax]
lea ecx, [eax + 0x1c]
cmp eax, dword [0x1001cdd8]
jne 0x10009c40
lea ecx, [esp + 0x80]
movq xmm0, qword [esp + 0x64]
sub esp, 0x10
mov eax, esp
push 1
push ecx
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x84]
lea edx, [esp + 0x48]
push edx
mov ecx, edi
movq qword [eax + 8], xmm0
call fcn.10009310
sub ebx, dword [esp + 0x5c]
add esp, 0x1c
sar ebx, 4
test ebx, ebx
je 0x10009d56
mov esi, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
jmp 0x10009c90
movq xmm0, qword [esi]
movq qword [esp + 0x90], xmm0
movq xmm0, qword [esi + 8]
push 0x1001cdd4
lea ecx, [esp + 0x94]
movq qword [esp + 0x9c], xmm0
call fcn.100023b0
mov ebx, dword [0x1001cdd8]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x10009d08
movq xmm0, qword [eax + 0xc]
sub esp, 0x10
mov ecx, esp
movq qword [ecx], xmm0
movq xmm0, qword [eax + 0x14]
movq qword [ecx + 8], xmm0
movq xmm0, qword [esi]
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [esi + 8]
movq qword [eax + 8], xmm0
call fcn.1000d8f0
test al, al
jne 0x10009d08
lea eax, [esp + 0x20]
jmp 0x10009d10
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x24]
mov eax, dword [eax]
lea ecx, [eax + 0x1c]
cmp eax, ebx
jne 0x10009d20
lea ecx, [esp + 0x80]
movq xmm0, qword [esi]
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [esi + 8]
push 2
movq qword [eax + 8], xmm0
push ecx
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call fcn.10009310
add esp, 0x1c
add esi, 0x10
dec dword [esp + 0x18]
jne 0x10009c90
mov byte [esp + 0x2c0], 0
cmp dword [esp + 0x40], 0
je 0x10009d73
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, dword [esp + 0x2c]
push 0
push 0x8000080
push 3
push 0
push 3
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
mov dword [esp + 0x2c], ebx
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2c0], 3
cmp dword [0x1001c7ac], 0
mov edi, 8
jbe 0x10009e5c
cmp dword [0x1001c7b0], edi
jb 0x10009ddb
mov eax, dword [0x1001c79c]
mov edx, eax
test eax, eax
jne 0x10009de0
jmp 0x10009df4
mov edx, 0x1001c79c
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10009de5
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [esp + 0x20]
push eax
call fcn.100086f0
push 2
push 0x10017f14
lea ecx, [esp + 0x20]
push ecx
call fcn.100086f0
cmp dword [0x1001c83c], edi
jb 0x10009e26
mov eax, dword [0x1001c828]
mov edx, eax
test eax, eax
jne 0x10009e2b
jmp 0x10009e3f
mov edx, 0x1001c828
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10009e30
sub eax, esi
sar eax, 1
push eax
push edx
lea edx, [esp + 0x20]
push edx
call fcn.100086f0
push 1
push 0x10017e54
lea eax, [esp + 0x20]
push eax
call fcn.100086f0
cmp ebx, 0xffffffff
je 0x1000a0af
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x44]
push edx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x10009f72
cmp dword [0x1001c7c8], 0
jbe 0x10009f72
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x10009f72
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x84]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test eax, eax
je 0x10009f72
push 0x100
lea ecx, [esp + 0xb0]
push ecx
push 0
lea edx, [esp + 0x9c]
push edx
push 2
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
test eax, eax
je 0x10009f72
mov edx, dword [0x1001c7b8]
cmp dword [0x1001c7cc], edi
jae 0x10009f07
mov edx, 0x1001c7b8
lea edi, [esp + 0x18]
call fcn.10007c50
mov edx, 0x10017f14
call fcn.10007c50
lea edx, [esp + 0xac]
call fcn.10007c50
push 0x100
lea eax, [esp + 0xb0]
push eax
push 0
lea ecx, [esp + 0x9c]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
test eax, eax
je 0x10009f64
mov edx, 0x10017f8c
call fcn.10007c50
lea edx, [esp + 0xac]
call fcn.10007c50
mov edx, 0x10017e54
lea edi, [esp + 0x18]
call fcn.10007c50
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [0x1001c7e4], 0
mov esi, eax
jbe 0x1000a0a4
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x24], edi
push 0x80
lea ecx, [esp + 0xb0]
push ecx
push 0
mov bl, 4
push esi
mov byte [esp + 0x2d0], bl
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
test eax, eax
je 0x1000a080
cmp dword [0x1001c7e8], 8
jb 0x10009fdf
mov edx, dword [0x1001c7d4]
test edx, edx
jne 0x10009fe4
xor eax, eax
jmp 0x10009fff
mov edx, 0x1001c7d4
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10009ff0
sub eax, esi
sar eax, 1
push eax
push edx
lea edx, [esp + 0x20]
push edx
call fcn.100086f0
push 2
push 0x10017f14
lea eax, [esp + 0x20]
push eax
call fcn.100086f0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xb0]
call fcn.10007ac0
mov byte [esp + 0x2c0], 5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
call fcn.100086f0
push 1
push 0x10017e54
lea eax, [esp + 0x20]
push eax
call fcn.100086f0
mov byte [esp + 0x2c0], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a080
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x2c0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a0a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
push edi
push edx
lea eax, [esp + 0x98]
push eax
call fcn.1000a7e0
add esp, 0xc
mov esi, eax
mov ebx, 7
cmp edi, esi
je 0x1000a131
cmp dword [edi + 0x14], 8
jb 0x1000a0e6
mov eax, dword [edi]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], 0
mov word [edi], cx
cmp dword [esi + 0x14], 8
jae 0x1000a110
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
push esi
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x1000a116
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], ecx
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 0x14], edx
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0xa4], 8
jb 0x1000a14c
mov ecx, dword [esp + 0x90]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [esp + 0x2c0], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000a174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c0], ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x58]
lea esi, [esp + 0x38]
call fcn.10002610
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.100134d2
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x100195b0
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x60], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3