Function at 0x10010fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015533
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x5fc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.10006eb0
mov byte [ebp - 4], 1
push 0x208
push 0
lea eax, [ebp - 0x608]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x608]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x608]
push eax
lea ecx, [ebp - 0xa4]
call fcn.10006ef0
push 0xffffffffffffffff
push 0x10016d4c
lea ecx, [ebp - 0xa4]
call fcn.1000eb50
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x10011145
mov ecx, dword [ebp - 0x18]
push ecx
push 0
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0xa4]
call fcn.10010d80
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10001d70
push 0x10016d54
lea ecx, [ebp - 0x9c]
push ecx
call fcn.100056c0
add esp, 8
mov byte [ebp - 0x11], al
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x100110d3
push 0x10016d5c
lea eax, [ebp - 0x9c]
push eax
call fcn.100056c0
add esp, 8
mov byte [ebp - 0x12], al
movzx ecx, byte [ebp - 0x12]
test ecx, ecx
je 0x10011123
push 0xffffffffffffffff
push 0x10016d64
lea ecx, [ebp - 0x9c]
call fcn.1000eb00
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x10011123
mov edx, dword [ebp - 0x18]
push edx
push 0
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10010d40
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.10008830
lea ecx, [ebp - 0x13c]
call fcn.10008210
lea ecx, [ebp - 0x9c]
call fcn.1000e380
movzx edx, al
test edx, edx
jne 0x10011145
push str._fs_ex.txt
lea ecx, [ebp - 0x9c]
call fcn.10009420
lea ecx, [ebp - 0x9c]
call fcn.1000e380
movzx eax, al
test eax, eax
jne 0x100114d8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea ecx, [ebp - 0x9c]
call fcn.1000e000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x100114d8
lea ecx, [ebp - 0x104]
call fcn.10006bf0
mov byte [ebp - 4], 2
push 0x80
push 0
lea ecx, [ebp - 0x2fc]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x20], 0
push 0
lea edx, [ebp - 0x20]
push edx
push 0x80
lea eax, [ebp - 0x2fc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x104]
call fcn.1000dac0
cmp dword [ebp - 0x20], 0x80
je 0x100111b8
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x104]
call fcn.1000e380
movzx edx, al
test edx, edx
jne 0x100114c9
push 0xfde9
lea ecx, [ebp - 0x104]
call fcn.1000dfe0
push eax
lea ecx, [ebp - 0x400]
call fcn.100066b0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
call fcn.100089c0
push eax
lea ecx, [ebp - 0x124]
call fcn.10006e30
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x400]
call fcn.10007f80
push 0
push 0
push 0x10016d84
lea ecx, [ebp - 0x21c]
call fcn.100070d0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.10001c80
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x21c]
call fcn.10008290
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x19c]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.1000def0
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.1000e4b0
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 0xa
jmp 0x100112f9
lea ecx, [ebp - 0x19c]
call fcn.10008b30
lea ecx, [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x19c]
push edx
call fcn.10002480
add esp, 8
mov byte [ebp - 0x13], al
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x1001148d
lea ecx, [ebp - 0x19c]
call fcn.10008ab0
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0xec]
call fcn.10006c90
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd0]
call fcn.10007c80
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xec]
push ecx
call fcn.10006150
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd0]
call fcn.100086e0
lea ecx, [ebp - 0xec]
call fcn.1000e380
movzx edx, al
test edx, edx
jne 0x10011479
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10001820
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x134
mov dword [ebp - 0x58], ecx
lea edx, [ebp - 0xbc]
push edx
mov ecx, dword [ebp - 0x58]
call fcn.1000e090
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x134
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.1000e070
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
lea eax, [ebp - 0xc4]
push eax
call fcn.10005b80
add esp, 0x10
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x134
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.1000e090
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.10008940
movzx edx, al
test edx, edx
je 0x10011479
mov eax, dword [ebp - 0x1c]
add eax, 0x134
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0xec]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.1000ff90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xec]
call fcn.10008210
jmp 0x100112ee
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x27c]
call fcn.100082b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x19c]
call fcn.100082b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1e0]
call fcn.100082d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x124]
call fcn.10008210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x104]
call fcn.100081f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.10008210
jmp 0x100114ef
mov dword [ebp - 4], 0xffffffff
jmp 0x100114ff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4