Function at 0x1000f530
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
push edi
mov al, byte [esi + 1]
mov edi, ecx
add eax, 0xfffffff6
mov dword [esp + 0x10], 0
cmp eax, 7
ja case.default.0x1000f556
jmp dword [eax*4 + 0x1000f7d8]
lea ebx, [esi + 2]
push 0x20019
push ebx
call sym.digest.dll_EnumerateSecurityPackagesW
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1000f580
push 0x3e8
jmp 0x1000f7a8
mov cl, byte [esi + 1]
push ebx
cmp cl, 0xa
push eax
mov ecx, edi
jne 0x1000f596
call fcn.1000a830
jmp 0x1000f7af
call fcn.10014090
jmp 0x1000f7af
lea ebx, [esi + 2]
push ebx
call dword [0x10019220]
lea eax, [eax + esi + 3]
push eax
push ebx
call fcn.100053a0
add esp, 4
push eax
call dword [0x100193d8]
jmp 0x1000f7a7
mov ebp, dword [0x10019220]
add esi, 2
push esi
call ebp
lea ebx, [eax + esi + 1]
push ebx
call ebp
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0xf003f
push 0
lea eax, [eax + ebx + 1]
push 0
push 0
push eax
push esi
call fcn.100053a0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x1000f7a7
mov edx, dword [esp + 0x10]
push eax
push edx
push ebx
push esi
call fcn.100053a0
add esp, 4
push eax
call dword [0x100193d4]
test eax, eax
jne 0x1000f7a7
push ebx
push esi
call fcn.100053a0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
jmp 0x1000f7a7
mov ebp, dword [0x10019220]
add esi, 2
push esi
call ebp
lea ebx, [eax + esi + 1]
push ebx
call ebp
lea ebp, [eax + ebx + 1]
push 0x20006
push esi
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 4]
mov dword [esp + 0x24], ecx
call sym.digest.dll_EnumerateSecurityPackagesW
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add esp, 8
add ebp, 8
mov dword [esp + 0x10], eax
push edx
push ebp
push ecx
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x1000f7a7
add esi, 2
push esi
call dword [0x10019220]
push 0x20006
push esi
lea ebx, [eax + esi + 1]
call sym.digest.dll_EnumerateSecurityPackagesW
add esp, 8
mov dword [esp + 0x10], eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
jmp 0x1000f7a7
mov ebp, dword [0x10019220]
add esi, 2
push esi
call ebp
lea ebx, [eax + esi + 1]
push ebx
call ebp
push 0x2001f
push esi
lea ebp, [eax + ebx + 1]
call sym.digest.dll_EnumerateSecurityPackagesW
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1000f6f5
push 0x3e8
jmp 0x1000f7a8
push 0x2000
mov dword [esp + 0x20], 0x2000
call fcn.10018554
mov ecx, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x1c]
mov esi, eax
push edx
lea eax, [esp + 0x18]
push esi
push eax
push 0
push ebx
push ecx
call dword [0x10019030]
test eax, eax
jne 0x1000f746
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
push esi
push eax
push 0
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1000f75d
push 0x3e8
mov ecx, edi
call fcn.10001780
push esi
call fcn.1001854e
add esp, 4
jmp 0x1000f7af
push esi
call fcn.1001854e
mov edx, dword [esp + 0x14]
add esp, 4
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
jmp 0x1000f7a7
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0xf003f
push 0
lea ebx, [esi + 2]
push 0
push 0
push ebx
call dword [0x10019220]
lea ecx, [eax + esi + 3]
push ecx
push ebx
call fcn.100053a0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov ecx, edi
call fcn.10001780
mov eax, dword [esp + 0x10]
test eax, eax
je case.default.0x1000f556
push eax
mov ecx, edi
call fcn.10006410
test al, al
jne case.default.0x1000f556
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_BlockInput]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8