Function at 0x10006060
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1012e2f6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
cmp dword [esi + 4], 0
mov dword [esp + 0x1c], eax
mov ebx, edx
je 0x100061b6
test ebx, ebx
je 0x100061b6
test eax, eax
je 0x100061b6
call fcn.100025a0
push 1
call fcn.1000f180
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x11c], 0
je 0x100060f5
add esi, 0xc
jmp 0x100060f8
mov esi, dword [esi + 8]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x100061b6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jbe 0x100061b6
lea ecx, [esp + 0x20]
push ecx
push 0x1fff8
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], fcn.100cf978
mov dword [esp + 0x2c], fcn.100cfa42
mov dword [esp + 0x30], fcn.100cf89b
call fcn.10001390
mov dword [esp + 0x1e0], ebx
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
call fcn.10001ee0
push 0
lea edx, [esp + 0x14]
push edx
push edi
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x100061de
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x1e0], 0xffffffff
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x100061b6
mov edi, dword [esp + 0x38]
mov eax, esi
mov esi, dword [esi + 4]
push eax
call edi
add esp, 4
test esi, esi
jne 0x100061a7
xor al, al
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.100cf604
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esp + 0xb4]
call fcn.1004b080
mov byte [esp + 0x1e0], 1
mov ecx, dword [esp + 0x10]
mov eax, edi
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.10004680
xor ebx, ebx
mov eax, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0xb
call fcn.1004a0a0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
mov edx, eax
call fcn.10013460
lea eax, [esp + 0x4c]
lea ecx, [ebx + 4]
jmp 0x10006240
xor edx, edx
mov dword [eax - 8], 1
mov dword [eax], 8
mov dword [eax + 8], ebx
mov word [eax - 2], dx
mov word [eax - 4], dx
add eax, 0x1c
sub ecx, 1
jne 0x10006240
mov ecx, 0x2f
mov edx, ecx
mov word [esp + 0x82], dx
push 0x1c
mov eax, 0x1d
lea edx, [esp + 0x48]
mov word [esp + 0x4e], ax
mov word [esp + 0x6a], cx
mov eax, 2
or dword [esp + 0x88], eax
or dword [esp + 0xa4], eax
push edx
mov ecx, 0x1d
push 4
mov word [esp + 0xaa], cx
call dword [sym.imp.USER32.dll_SendInput]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esp + 0x1c6], 0
jne 0x100062dc
mov eax, dword [esp + 0x1c0]
lea ecx, [esp + 0xb8]
cmp eax, ecx
je 0x100062dc
push eax
call fcn.100cf89b
add esp, 4
mov dword [esp + 0x1e0], 0xffffffff
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x10006302
mov edi, dword [esp + 0x38]
mov eax, esi
mov esi, dword [esi + 4]
push eax
call edi
add esp, 4
cmp esi, ebx
jne 0x100062f3
mov al, 1
jmp 0x100061b8