Function at 0x11bc347
Capabilities:
Get file size

Disassembly:
mov eax, 0x128d126
call fcn.01160458
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.01046065
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.0111fc5b
cmp eax, ebx
jge 0x11bc381
mov esi, eax
jmp 0x11bc6cd
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.011bbf4c
cmp eax, ebx
jl 0x11bc37a
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 0x11bc3da
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x11bc3c7
call esi
jmp 0x11bc3d3
call esi
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x11bc6c2
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
push dword [esi]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], ebx
call fcn.01046065
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
mov ecx, eax
call fcn.0104520c
mov dword [ebp + 0xc], ebx
mov byte [ebp - 4], 4
lea esi, [edi + 0x1c]
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x11bc492
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 0x11bc456
push ecx
lea eax, [edi + 0x20]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.01045da0
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push esi
call fcn.01045da0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
call fcn.011bba7a
jmp 0x11bc458
xor eax, eax
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0103db49
cmp dword [ebp + 0xc], ebx
jne 0x11bc492
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01045295
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc488
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x8007000e
jmp 0x11bc6c2
mov edi, dword [edi + 8]
cmp edi, ebx
jne 0x11bc4d1
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc4aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01045295
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc4c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 0x80004003
jmp 0x11bc6c2
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 0x102d584
push 0x4000002
push eax
push ebx
push edi
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jge 0x11bc53d
mov byte [ebp - 4], 3
cmp esi, ebx
je 0x11bc519
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01045295
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc536
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
jmp 0x11bc6c2
cmp dword [ebp - 0x10], ebx
jne 0x11bc559
mov byte [ebp - 4], 3
cmp esi, ebx
je 0x11bc4aa
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x11bc4aa
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 0x11bc5d3
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x11bc58c
call esi
mov esi, eax
jmp 0x11bc59c
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 0x11bc5ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01045295
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc6c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x11bc6c2
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
ja 0x11bc5e9
mov eax, dword [ebp - 0x40]
jb 0x11bc5e3
cmp eax, esi
jae 0x11bc5e9
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x4c]
call fcn.011967eb
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.01195b6e
cmp eax, ebx
mov dword [ebp - 0x20], eax
jl 0x11bc6ec
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 0x11bc6ec
cmp dword [ebp - 0x4c], ebx
je 0x11bc646
cmp dword [ebp + 8], ebx
je 0x11bc72b
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 0x11bc672
mov eax, dword [ebp - 0x40]
ja 0x11bc668
cmp ecx, eax
jbe 0x11bc672
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.01196817
cmp edi, dword [ebp - 0x3c]
ja 0x11bc692
jb 0x11bc5e9
cmp esi, dword [ebp - 0x40]
jb 0x11bc5e9
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc6a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01045295
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc6c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.01082eef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01045295
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.01196817
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc709
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.01045295
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11bc726
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x20]
jmp 0x11bc6c2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.01196817
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11bc46b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x11bc46b