Function at 0x10b2bca
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x111127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x408], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x410], eax
mov eax, dword [0x111124c]
mov esi, 0x111124c
cmp eax, esi
je 0x10b2c22
test byte [eax + 0x1c], 4
je 0x10b2c22
cmp byte [eax + 0x19], 4
jb 0x10b2c22
push 0x100b070
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x438], ecx
lea edi, [ebp - 0x434]
stosd dword es:[edi], eax
mov dword [ebp - 0x430], ecx
lea edi, [ebp - 0x42c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov byte [ebp - 0x204], cl
lea edi, [ebp - 0x203]
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1f8
stosb byte es:[edi], al
push ecx
lea eax, [ebp - 0x1fc]
push eax
mov byte [ebp - 0x409], 0
mov dword [ebp - 0x414], ecx
call sub.msvcrt.dll_memset
xor eax, eax
mov byte [ebp - 0x404], 0
lea edi, [ebp - 0x403]
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f8
xor edi, edi
lea eax, [ebp - 0x3fc]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
push edi
push 0x60000080
push 3
push edi
push 1
push 0xc0000000
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x10b2d06
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x410]
mov dword [ecx], eax
mov ecx, dword [0x111124c]
cmp ecx, esi
je 0x10b2cfe
test byte [ecx + 0x1c], 4
je 0x10b2cfe
cmp byte [ecx + 0x19], 2
jb 0x10b2cfe
push eax
push dword [ebp - 0x408]
push 0x100b070
push 0x2a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010196ed
push 8
pop eax
jmp 0x10b30db
mov ecx, dword [0x111124c]
cmp ecx, esi
je 0x10b2d38
test byte [ecx + 0x1c], 4
je 0x10b2d38
cmp byte [ecx + 0x19], 4
jb 0x10b2d38
push eax
push dword [ebp - 0x408]
mov edi, 0x100b070
push edi
push 0x2b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010196ed
jmp 0x10b2d3d
mov edi, 0x100b070
push dword [ebp - 0x410]
lea eax, [ebp - 0x409]
push eax
lea eax, [ebp - 0x204]
push eax
mov ecx, ebx
call fcn.010b18db
mov dword [ebp - 0x408], eax
test eax, eax
je 0x10b2d96
mov eax, dword [0x111124c]
cmp eax, esi
je 0x10b2d8b
test byte [eax + 0x1c], 4
je 0x10b2d8b
cmp byte [eax + 0x19], 2
jb 0x10b2d8b
push dword [ebp - 0x408]
push edi
push 0x2c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [ebp - 0x408]
jmp 0x10b30db
cmp byte [ebp - 0x409], 0
je 0x10b2dc9
mov eax, dword [0x111124c]
cmp eax, esi
je 0x10b2dc2
test byte [eax + 0x1c], 4
je 0x10b2dc2
cmp byte [eax + 0x19], 2
jb 0x10b2dc2
push edi
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
push 2
jmp 0x10b2d00
lea eax, [ebp - 0x1e4]
push eax
call fcn.010a006c
cmp eax, 0x10001
je 0x10b2df6
mov eax, dword [0x111124c]
cmp eax, esi
je 0x10b2dc2
test byte [eax + 0x1c], 4
je 0x10b2dc2
cmp byte [eax + 0x19], 2
jb 0x10b2dc2
push edi
push 0x2e
jmp 0x10b2db7
lea eax, [ebp - 0x1dc]
push eax
mov byte [ebx + 0x28], 1
call fcn.010a0024
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x1c8]
push eax
mov dword [ebp - 0x418], edx
call fcn.010a006c
push dword [ebp - 0x410]
mov ecx, ebx
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push eax
call fcn.010ac146
mov dword [ebp - 0x408], eax
test eax, eax
je 0x10b2e7b
mov eax, dword [0x111124c]
cmp eax, esi
je 0x10b2d8b
test byte [eax + 0x1c], 4
je 0x10b2d8b
cmp byte [eax + 0x19], 2
jb 0x10b2d8b
push dword [ebp - 0x408]
push edi
push 0x2f
jmp 0x10b2d80
mov esi, 0x20000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x418], edi
test edi, edi
jne 0x10b2eaa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x410]
mov dword [ecx], eax
push 3
jmp 0x10b2d00
push esi
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
call fcn.0109cd2b
mov edi, eax
mov ecx, 0x80
lea esi, [ebp - 0x404]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push esi
push 1
push esi
mov dword [ebp - 0x408], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x420], eax
cmp eax, esi
jne 0x10b2f0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x410]
mov dword [ecx], eax
push 3
pop esi
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
jmp 0x10b30db
lea eax, [ebp - 0x430]
push eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], esi
mov esi, 0x200
push esi
push dword [ebp - 0x408]
push dword [ebx]
call fcn.010a03a5
mov edi, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 1
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebx]
call edi
test eax, eax
jne 0x10b2f6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x410]
mov dword [ecx], eax
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
jmp 0x10b2ef8
cmp dword [ebp - 0x414], esi
je 0x10b2fb4
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b2fa6
test byte [eax + 0x1c], 4
je 0x10b2fa6
cmp byte [eax + 0x19], 2
jb 0x10b2fa6
push dword [ebp - 0x414]
push 0x100b070
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [ebp - 0x410]
mov dword [eax], 0x45d
jmp 0x10b2f5e
lea eax, [ebp - 0x438]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x10b3017
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x410]
mov dword [ecx], eax
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b3004
test byte [ecx + 0x1c], 4
je 0x10b3004
cmp byte [ecx + 0x19], 2
jb 0x10b3004
push eax
push dword [ebx]
push 0x100b070
push 0x31
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0109ba57
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
jmp 0x10b2ef8
mov eax, dword [ebp - 0x438]
mov ecx, dword [ebp - 0x434]
sub eax, esi
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x430]
push eax
push esi
push dword [ebp - 0x408]
sbb ecx, 0
push dword [ebx]
mov dword [ebp - 0x424], ecx
call fcn.010a03a5
push 1
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebx]
call edi
test eax, eax
je 0x10b2f50
cmp dword [ebp - 0x414], esi
je 0x10b30a3
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b2fa6
test byte [eax + 0x1c], 4
je 0x10b2fa6
cmp byte [eax + 0x19], 2
jb 0x10b2fa6
push dword [ebp - 0x414]
push 0x100b070
push 0x32
jmp 0x10b2f9b
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b30d9
test byte [eax + 0x1c], 4
je 0x10b30d9
cmp byte [eax + 0x19], 4
jb 0x10b30d9
push 0x100b070
push 0x33
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f5f8
leave
ret 0xc