Function at 0x10084adc
Capabilities:
Get file size

Disassembly:
push 0x8c
push 0x10092460
call fcn.10063360
mov ebx, ecx
mov dword [ebp - 0x98], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], 0x80004021
mov dword [ebp - 0x78], 2
xor edi, edi
inc edi
mov dword [ebp - 0x80], edi
xor esi, esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], esi
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10086bf0
lea ecx, [ebp - 0x9c]
call fcn.10086c10
mov dword [ebp - 4], esi
mov dword [ebp - 4], edi
mov ecx, ebx
call fcn.10084a31
lea edi, [ebx + 0x358]
lea eax, [ebp - 0x74]
push eax
push edi
push dword [ebp - 0x70]
call fcn.10082982
cmp eax, esi
jne 0x10084bf3
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebx + 0x350], eax
cmp eax, 0xffffffff
jne 0x10084b97
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x10084b8f
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x68], eax
jmp 0x10084ec7
push esi
push esi
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10084b7b
cmp eax, dword [edi]
je 0x10084bb7
mov dword [ebp - 0x68], 0x80070019
jmp 0x10084ec7
push esi
push dword [ebx + 0x350]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx + 0x354], eax
cmp eax, 0xffffffff
je 0x10084b7b
sub eax, dword [edi]
mov dword [ebx + 0x354], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, eax
jae 0x10084be4
mov dword [ebx + 0x354], ecx
mov byte [ebx + 0x34c], 1
mov dword [ebp - 0x68], esi
jmp 0x10084ec7
push 0x1000af20
push dword [ebp - 0x70]
call fcn.100647d5
pop ecx
pop ecx
mov dword [ebx + 0x340], eax
cmp eax, esi
jne 0x10084c18
call fcn.100655b1
mov eax, dword [eax]
jmp 0x10084b81
cmp dword [ebx + 0x48], esi
jne 0x10084c33
push 0x10024644
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx + 0x48], eax
cmp eax, esi
je 0x10084cef
mov ecx, ebx
call fcn.10084194
cmp eax, esi
jne 0x10084d07
lea eax, [ebx + 0x70]
lea esi, [ebx + 0x20]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push esi
push eax
push dword [ebx + 0x340]
call dword [ebx + 0x34]
add esp, 0x20
cmp eax, esi
jge 0x10084c7f
mov dword [ebp - 0x68], eax
push dword [ebx + 0x340]
call fcn.100644d4
mov dword [ebx + 0x340], esi
jmp 0x10084d06
push 0xffffffffffffffff
lea edi, [ebx + 0x70]
push edi
call dword [ebx + 0x40]
pop ecx
pop ecx
mov esi, eax
test esi, esi
jne 0x10084cb4
mov dword [ebp - 0x68], 0x80004003
push edi
call dword [ebx + 0x30]
push dword [ebx + 0x340]
call fcn.100644d4
pop ecx
pop ecx
and dword [ebx + 0x340], 0
jmp 0x10084ec5
push 0xffffffffffffffff
push edi
call dword [ebx + 0x38]
pop ecx
pop ecx
lea ecx, [ebx + 0x348]
mov dword [ecx], eax
mov edx, dword [esi + 4]
imul edx, eax
add edx, edx
mov dword [ecx], edx
cmp dword [esi + 4], 2
jne 0x10084ce6
cmp dword [esi + 8], 0xac44
jne 0x10084ce6
mov byte [ebx + 0x60], 1
jmp 0x10084ec1
mov dword [ebp - 0x68], 0x800700a0
jmp 0x10084c97
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebx + 0x340]
call fcn.100644d4
mov dword [ebx + 0x340], esi
pop ecx
cmp dword [ebx + 0x58], esi
jne 0x10084d1a
push 0x10024638
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx + 0x58], eax
mov eax, dword [ebx + 0x58]
cmp eax, esi
je 0x10084b7b
push 0x10024624
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x10084b7b
lea edi, [ebx + 0x4c]
push edi
push esi
push esi
call eax
mov dword [ebp - 0x68], eax
cmp eax, esi
jl 0x10084ec7
push 0xc
call fcn.10062b5c
pop ecx
cmp eax, esi
je 0x10084d61
mov ecx, eax
call fcn.10086bd7
jmp 0x10084d63
xor eax, eax
mov dword [ebx + 0x50], eax
cmp eax, esi
jne 0x10084d76
mov dword [ebp - 0x68], 0x8007000e
jmp 0x10084ec7
push dword [ebp - 0x70]
mov ecx, eax
call fcn.10086734
mov dword [ebp - 0x68], eax
cmp eax, esi
jl 0x10084ec7
mov eax, dword [edi]
mov ecx, dword [eax]
push dword [ebx + 0x50]
push eax
call dword [ecx + 0x5c]
mov dword [ebp - 0x68], eax
cmp eax, esi
jl 0x10084ec7
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
lea edx, [ebp - 0x80]
push edx
push 1
push eax
call dword [ecx + 0x20]
mov dword [ebp - 0x68], eax
cmp eax, esi
jl 0x10084ec7
mov eax, dword [edi]
mov ecx, dword [eax]
push esi
push 1
push eax
call dword [ecx + 0x28]
mov dword [ebp - 0x68], eax
cmp eax, esi
jl 0x10084ec7
mov edi, dword [edi]
mov eax, dword [edi]
lea ecx, [ebp - 0x6c]
push ecx
push esi
push edi
call dword [eax + 0x3c]
mov dword [ebp - 0x68], eax
cmp eax, esi
jl 0x10084ec7
xor eax, eax
lea edi, [ebp - 0x94]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
inc eax
mov word [ebp - 0x94], ax
push 2
pop eax
mov word [ebp - 0x92], ax
mov dword [ebp - 0x90], 0xac44
mov dword [ebp - 0x8c], 0x2b110
push 4
pop eax
mov word [ebp - 0x88], ax
push 0x10
pop eax
mov word [ebp - 0x86], ax
xor eax, eax
mov word [ebp - 0x84], ax
push 0x48
push esi
lea eax, [ebp - 0x64]
push eax
call fcn.100620c0
add esp, 0xc
mov esi, 0x100244b8
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x100244c8
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x44], 1
and dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 4
mov esi, 0x100244d8
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x12
lea eax, [ebp - 0x94]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x68], eax
test eax, eax
jl 0x10084ec5
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax]
push dword [ebp - 0x6c]
push 0
push eax
call dword [ecx + 0x40]
mov dword [ebp - 0x68], eax
test eax, eax
jl 0x10084ec5
and dword [ebp - 0x68], 0
xor esi, esi
mov dword [ebp - 4], esi
call fcn.10084ed9
jmp 0x10084f1d
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x68]
call fcn.100633a8
ret 4