Function at 0x11bc03a
Capabilities:
Get file size

Disassembly:
mov eax, 0x128cfe2
call fcn.01160168
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.01045d3e
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.0111f733
cmp eax, ebx
jge 0x11bc074
mov esi, eax
jmp 0x11bc3c0
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.011bbc3f
cmp eax, ebx
jl 0x11bc06d
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
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 0x11bc0cd
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x11bc0ba
call esi
jmp 0x11bc0c6
call esi
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x11bc3b5
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
push dword [esi]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], ebx
call fcn.01045d3e
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
mov ecx, eax
call fcn.01044f45
mov dword [ebp + 0xc], ebx
mov byte [ebp - 4], 4
lea esi, [edi + 0x1c]
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x11bc185
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 0x11bc149
push ecx
lea eax, [edi + 0x20]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.01045a7a
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push esi
call fcn.01045a7a
mov byte [ebp - 4], 7
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
call fcn.011bb76d
jmp 0x11bc14b
xor eax, eax
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0103d87e
cmp dword [ebp + 0xc], ebx
jne 0x11bc185
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.010454b8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc17b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x8007000e
jmp 0x11bc3b5
mov edi, dword [edi + 8]
cmp edi, ebx
jne 0x11bc1c4
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc19d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.010454b8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc1ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x80004003
jmp 0x11bc3b5
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 0x11bc230
mov byte [ebp - 4], 3
cmp esi, ebx
je 0x11bc20c
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.010454b8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc229
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
jmp 0x11bc3b5
cmp dword [ebp - 0x10], ebx
jne 0x11bc24c
mov byte [ebp - 4], 3
cmp esi, ebx
je 0x11bc19d
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x11bc19d
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 0x11bc2c6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x11bc27f
call esi
mov esi, eax
jmp 0x11bc28f
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 0x11bc2a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.010454b8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc3b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x11bc3b5
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
ja 0x11bc2dc
mov eax, dword [ebp - 0x40]
jb 0x11bc2d6
cmp eax, esi
jae 0x11bc2dc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x4c]
call fcn.01196444
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.011957b6
cmp eax, ebx
mov dword [ebp - 0x20], eax
jl 0x11bc3df
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 0x11bc3df
cmp dword [ebp - 0x4c], ebx
je 0x11bc339
cmp dword [ebp + 8], ebx
je 0x11bc41e
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 0x11bc365
mov eax, dword [ebp - 0x40]
ja 0x11bc35b
cmp ecx, eax
jbe 0x11bc365
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.01196470
cmp edi, dword [ebp - 0x3c]
ja 0x11bc385
jb 0x11bc2dc
cmp esi, dword [ebp - 0x40]
jb 0x11bc2dc
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc396
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.010454b8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc3b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.01082732
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.010454b8
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.01196470
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc3fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.010454b8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc419
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x20]
jmp 0x11bc3b5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.01196470
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc15e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x11bc15e