Function at 0x10b18db
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x111127c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x2c], 0
and dword [ebp - 0x3c], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], edi
mov eax, dword [0x111124c]
mov esi, 0x111124c
cmp eax, esi
je 0x10b193e
test byte [eax + 0x1c], 4
je 0x10b193e
cmp byte [eax + 0x19], 4
jb 0x10b193e
push 0x100b070
push 0xe5
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov ecx, dword [ebp - 0x40]
and dword [ebp - 0x54], 0
test ecx, ecx
je 0x10b1949
mov byte [ecx], 0
cmp dword [ebp - 0x48], 0
je 0x10b1961
push 0x200
push 0
push dword [ebp - 0x48]
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x10b19b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov ecx, dword [0x111124c]
cmp ecx, esi
je 0x10b19ad
test byte [ecx + 0x1c], 4
je 0x10b19ad
cmp byte [ecx + 0x19], 2
jb 0x10b19ad
push eax
push dword [ebx]
push 0x100b070
push 0xe6
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0109ba57
mov ecx, dword [0x111124c]
mov dword [ebp - 0x2c], 8
jmp 0x10b2042
mov esi, 0x10000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x10b19e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov dword [ebp - 0x2c], 3
jmp 0x10b2027
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x10b1a0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov dword [ebp - 0x2c], 8
jmp 0x10b2027
and dword [ebp - 0x5c], 0
and dword [ebp - 0x58], 0
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b1a3f
test byte [eax + 0x1c], 4
je 0x10b1a3f
cmp byte [eax + 0x19], 5
jb 0x10b1a3f
push 0x100b070
push 0xe7
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x38]
push dword [ebx]
call fcn.010a02a2
push 1
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x10b1aae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b1aa2
test byte [ecx + 0x1c], 4
je 0x10b1aa2
cmp byte [ecx + 0x19], 2
jb 0x10b1aa2
push eax
push 0x100b070
push 0xe8
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010189f6
mov ecx, dword [0x111124c]
mov dword [ebp - 0x2c], 4
jmp 0x10b202d
cmp dword [ebp - 0x3c], esi
je 0x10b1af6
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b1ae4
test byte [eax + 0x1c], 4
je 0x10b1ae4
cmp byte [eax + 0x19], 2
jb 0x10b1ae4
push esi
push dword [ebp - 0x3c]
push 0x100b070
push 0xe9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
mov dword [edi], 0x45d
mov dword [ebp - 0x2c], 4
jmp 0x10b2027
push 0x10
push 0x100ab20
push dword [ebp - 0x38]
call dword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp eax, 0x10
je 0x10b201d
push 0
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x38]
mov ecx, ebx
call fcn.010b05eb
test al, al
jne 0x10b1b6a
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b1b58
test byte [eax + 0x1c], 4
je 0x10b1b58
cmp byte [eax + 0x19], 2
jb 0x10b1b58
push 0x100b070
push 0xea
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov dword [edi], 0x570
mov dword [ebp - 0x2c], 9
jmp 0x10b2027
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
xor eax, eax
cmp byte [ebp - 0x25], al
sete al
dec eax
and eax, 0xfffffe00
add eax, 0x400
mov dword [ebp - 0x40], eax
xor eax, eax
cmp esi, eax
jl 0x10b1fdd
jg 0x10b1b9b
cmp edi, dword [ebp - 0x40]
jb 0x10b1fdd
push 0
push 0x200
push esi
push edi
call fcn.01103340
or eax, edx
jne 0x10b1fdd
sub edi, dword [ebp - 0x40]
sbb esi, eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], esi
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b1beb
test byte [eax + 0x1c], 4
je 0x10b1beb
cmp byte [eax + 0x19], 5
jb 0x10b1beb
push edi
push esi
push 0x100b070
push 0xec
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x64]
push eax
push edi
push esi
push dword [ebx]
call fcn.010a02a2
push 1
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x10b1c24
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
jmp 0x10b1aea
cmp dword [ebp - 0x3c], edi
je 0x10b1c6c
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b1c5e
test byte [eax + 0x1c], 4
je 0x10b1c5e
cmp byte [eax + 0x19], 2
jb 0x10b1c5e
push 0x400
push dword [ebp - 0x3c]
push 0x100b070
push 0xed
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
mov eax, dword [ebp - 0x34]
mov dword [eax], 0x45d
jmp 0x10b1aea
push 0
lea eax, [ebp - 0x2d]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
mov ecx, ebx
call fcn.010b05eb
test al, al
jne 0x10b1cea
cmp byte [ebp - 0x25], al
je 0x10b1caf
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b1cdc
test byte [eax + 0x1c], 4
je 0x10b1cdc
cmp byte [eax + 0x19], 2
jb 0x10b1cdc
push 0x100b070
push 0xee
jmp 0x10b1cd1
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b1cdc
test byte [eax + 0x1c], 4
je 0x10b1cdc
cmp byte [eax + 0x19], 2
jb 0x10b1cdc
push 0x100b070
push 0xef
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, dword [ebp - 0x34]
mov dword [eax], 0x570
jmp 0x10b1b5e
cmp byte [ebp - 0x25], 0
jne 0x10b1d34
push 0
lea eax, [ebp - 0x2d]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
add esi, 0x200
push esi
mov ecx, ebx
call fcn.010b05eb
test al, al
jne 0x10b1d34
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b1cdc
test byte [eax + 0x1c], 4
je 0x10b1cdc
cmp byte [eax + 0x19], 2
jb 0x10b1cdc
push 0x100b070
push 0xf0
jmp 0x10b1cd1
push 4
pop ecx
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x14]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x10b1e5b
mov eax, dword [0x111124c]
mov esi, 0x111124c
cmp eax, esi
je 0x10b1d76
test byte [eax + 0x1c], 4
je 0x10b1d76
cmp byte [eax + 0x19], 2
jb 0x10b1d76
push 0x100b070
push 0xf1
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, dword [ebp - 0x34]
mov dword [eax], 0x570
mov dword [ebp - 0x2c], 9
mov ecx, dword [0x111124c]
cmp ecx, esi
je 0x10b202d
test byte [ecx + 0x1c], 4
je 0x10b1df0
cmp byte [ecx + 0x19], 2
jb 0x10b1df0
movzx eax, byte [ebp - 5]
push eax
movzx eax, byte [ebp - 6]
push eax
movzx eax, byte [ebp - 7]
push eax
movzx eax, byte [ebp - 8]
push eax
movzx eax, byte [ebp - 9]
push eax
movzx eax, byte [ebp - 0xa]
push eax
movzx eax, byte [ebp - 0xb]
push eax
movzx eax, byte [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0x100b070
push 0xf2
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0104b8aa
mov ecx, dword [0x111124c]
cmp ecx, esi
je 0x10b202d
test byte [ecx + 0x1c], 4
je 0x10b202d
cmp byte [ecx + 0x19], 2
jb 0x10b202d
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push 0x100b070
push 0xf3
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0104b8aa
jmp 0x10b2027
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x50], edi
jne 0x10b1e6f
cmp dword [ebp - 0x4c], esi
je 0x10b1f17
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b1cdc
test byte [eax + 0x1c], 4
je 0x10b1ea8
cmp byte [eax + 0x19], 2
jb 0x10b1ea8
mov ebx, 0x100b070
push ebx
push 0xf4
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, dword [0x111124c]
jmp 0x10b1ead
mov ebx, 0x100b070
cmp eax, 0x111124c
je 0x10b1cdc
test byte [eax + 0x1c], 4
je 0x10b1edc
cmp byte [eax + 0x19], 2
jb 0x10b1edc
push esi
push edi
push ebx
push 0xf5
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019531
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b1cdc
test byte [eax + 0x1c], 4
je 0x10b1cdc
cmp byte [eax + 0x19], 2
jb 0x10b1cdc
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push ebx
push 0xf6
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019531
jmp 0x10b1cdc
mov bl, byte [ebp - 0x2d]
cmp byte [ebp - 0x25], bl
je 0x10b1fca
mov ecx, dword [0x111124c]
mov edi, 0x111124c
cmp ecx, edi
je 0x10b1cdc
test byte [ecx + 0x1c], 4
je 0x10b1f60
cmp byte [ecx + 0x19], 2
jb 0x10b1f60
mov esi, 0x100b070
push esi
push 0xf7
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010189d0
mov ecx, dword [0x111124c]
jmp 0x10b1f65
mov esi, 0x100b070
cmp ecx, edi
je 0x10b1cdc
test byte [ecx + 0x1c], 4
je 0x10b1f96
cmp byte [ecx + 0x19], 2
jb 0x10b1f96
movzx eax, bl
cdq
push edx
push eax
push esi
push 0xf8
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019531
mov ecx, dword [0x111124c]
cmp ecx, edi
je 0x10b1cdc
test byte [ecx + 0x1c], 4
je 0x10b1cdc
cmp byte [ecx + 0x19], 2
jb 0x10b1cdc
movzx eax, byte [ebp - 0x25]
cdq
push edx
push eax
push esi
push 0xf9
push dword [ecx + 0x14]
push dword [ecx + 0x10]
jmp 0x10b1f0d
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x10b2027
mov esi, dword [ebp - 0x38]
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
jmp 0x10b2027
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b1cdc
test byte [eax + 0x1c], 4
je 0x10b1cdc
cmp byte [eax + 0x19], 2
jb 0x10b1cdc
push edi
push esi
push 0x100b070
push 0xeb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
jmp 0x10b1cdc
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x10b2027
mov byte [eax], 1
mov ecx, dword [0x111124c]
cmp dword [ebp - 0x38], 0
je 0x10b2042
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [0x111124c]
cmp dword [ebp - 0x54], 0
pop edi
pop esi
pop ebx
je 0x10b205a
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10b2083
test byte [ecx + 0x1c], 4
je 0x10b2083
cmp byte [ecx + 0x19], 4
jb 0x10b2083
push 0x100b070
push 0xfa
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010189d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0106f5f8
leave
ret 0xc