Function at 0x11bc04b
Capabilities:
Get file size

Disassembly:
mov eax, 0x128d1c8
call fcn.01160118
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push dword [eax]
mov edi, ecx
lea ecx, [ebp - 0x18]
call fcn.01045e8e
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.0111fc10
cmp eax, ebx
jge 0x11bc085
mov esi, eax
jmp 0x11bc3d1
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.011bbc50
cmp eax, ebx
jl 0x11bc07e
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
jne 0x11bc0de
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x11bc0cb
call esi
jmp 0x11bc0d7
call esi
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x11bc3c6
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
push dword [esi]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], ebx
call fcn.01045e8e
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
mov ecx, eax
call fcn.01045001
mov dword [ebp + 0xc], ebx
mov byte [ebp - 4], 4
lea esi, [edi + 0x1c]
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x11bc196
push 0x10
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x11bc15a
push ecx
lea eax, [edi + 0x20]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.01045bd4
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push esi
call fcn.01045bd4
mov byte [ebp - 4], 7
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
call fcn.011bb77e
jmp 0x11bc15c
xor eax, eax
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.010b7e63
cmp dword [ebp + 0xc], ebx
jne 0x11bc196
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0104508a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc18c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x8007000e
jmp 0x11bc3c6
mov edi, dword [edi + 8]
cmp edi, ebx
jne 0x11bc1d5
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc1ae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0104508a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc1cb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x80004003
jmp 0x11bc3c6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [eax - 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, dword [ebp + 0xc]
mov ecx, dword [edi]
lea edx, [ebp - 0x10]
push edx
push ebx
lea edx, [ebp - 0x24]
push edx
push ebx
push esi
push 0x1003b90
push 0x102d56c
push 0x4000002
push eax
push ebx
push edi
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jge 0x11bc241
mov byte [ebp - 4], 3
cmp esi, ebx
je 0x11bc21d
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0104508a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc23a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
jmp 0x11bc3c6
cmp dword [ebp - 0x10], ebx
jne 0x11bc25d
mov byte [ebp - 4], 3
cmp esi, ebx
je 0x11bc1ae
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x11bc1ae
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x1c]
mov esi, 0x40000
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x11bc2d7
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x11bc290
call esi
mov esi, eax
jmp 0x11bc2a0
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc2b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0104508a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc3c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x11bc3c6
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
ja 0x11bc2ed
mov eax, dword [ebp - 0x40]
jb 0x11bc2e7
cmp eax, esi
jae 0x11bc2ed
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x4c]
call fcn.0119650c
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x30]
push 4
push 2
push edi
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x1c]
call fcn.0119588f
cmp eax, ebx
mov dword [ebp - 0x20], eax
jl 0x11bc3f0
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 8]
push edx
push dword [ebp - 0x48]
mov dword [ebp + 8], ebx
push dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jl 0x11bc3f0
cmp dword [ebp - 0x4c], ebx
je 0x11bc34a
cmp dword [ebp + 8], ebx
je 0x11bc42f
add esi, dword [ebp + 8]
mov edx, dword [ebp - 0x3c]
adc edi, ebx
mov ecx, esi
add ecx, dword [ebp - 0x38]
mov eax, edi
adc eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], esi
cmp eax, edx
jb 0x11bc376
mov eax, dword [ebp - 0x40]
ja 0x11bc36c
cmp ecx, eax
jbe 0x11bc376
sub eax, esi
sbb edx, edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.01196538
cmp edi, dword [ebp - 0x3c]
ja 0x11bc396
jb 0x11bc2ed
cmp esi, dword [ebp - 0x40]
jb 0x11bc2ed
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc3a7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0104508a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc3c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.01082628
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0104508a
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.01196538
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc40d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0104508a
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc42a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x20]
jmp 0x11bc3c6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.01196538
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc16f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x11bc16f