Function at 0x100e48c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014cd5d
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x340]
call fcn.10073630
xor eax, eax
mov byte [ebp - 0x20], 0
push 0x208
push eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.1011a400
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0x104
push eax
push dword [str.__Shd]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x100e4953
mov eax, 1
jmp 0x100e4c7d
xor eax, eax
mov dword [ebp - 0x230], 7
mov dword [ebp - 0x234], 0
mov word [ebp - 0x244], ax
cmp word [ebp - 0x22c], ax
jne 0x100e497d
xor ecx, ecx
jmp 0x100e4995
lea ecx, [ebp - 0x22c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e4986
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000c2b0
lea eax, [ebp - 0x244]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x274]
call fcn.1000d260
cmp dword [ebp - 0x230], 8
mov byte [ebp - 4], 2
jb 0x100e49dc
push dword [ebp - 0x244]
call fcn.1011a1ea
add esp, 4
push dword [0x1018b98c]
xor eax, eax
mov dword [ebp - 0x230], 7
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x234], 0
mov word [ebp - 0x244], ax
call fcn.1000b9e0
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x274]
call fcn.1000d7b0
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.1000d7b0
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.1000d7b0
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 6
push ecx
lea ecx, [ebp - 0x28c]
push ecx
mov ecx, eax
call fcn.1000d990
push eax
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 7
call fcn.1000d2b0
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 6
call fcn.1000baf0
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 5
call fcn.1000baf0
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 4
call fcn.1000baf0
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 3
call fcn.1000baf0
cmp dword [ebp - 0x248], 8
mov byte [ebp - 4], 2
jb 0x100e4ac4
push dword [ebp - 0x25c]
call fcn.1011a1ea
add esp, 4
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x274]
call fcn.1000de40
cmp dword [eax + 0x14], 8
jb 0x100e4ade
mov eax, dword [eax]
push 0x10161398
push eax
call fcn.1012177a
add esp, 8
mov dword [esi + 0x24], eax
cmp dword [ebp - 0x248], 8
jb 0x100e4b06
push dword [ebp - 0x25c]
call fcn.1011a1ea
add esp, 4
xor eax, eax
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x24c], 0
test eax, eax
jne 0x100e4b34
mov ebx, 1
jmp 0x100e4c69
push 2
push 0
push eax
call fcn.10120339
add esp, 0xc
test eax, eax
jne 0x100e4b2a
push dword [esi + 0x24]
call fcn.1012074c
add esp, 4
mov dword [esi + 0x28], eax
cmp eax, 0x50
jbe 0x100e4b2a
add eax, 0xfffffff0
push eax
call fcn.101160b2
mov edi, eax
add esp, 4
test edi, edi
je 0x100e4b2a
mov eax, dword [esi + 0x28]
sub eax, 0x10
push eax
push 0
push edi
call fcn.1011a400
push dword [esi + 0x24]
call fcn.101216bb
push dword [esi + 0x24]
mov eax, dword [esi + 0x28]
sub eax, 0x10
push eax
push 1
push edi
call fcn.101201fe
mov ecx, dword [esi + 0x28]
add esp, 0x20
add ecx, 0xfffffff0
cmp ecx, eax
jne 0x100e4b2a
push ecx
push edi
lea ecx, [ebp - 0x340]
call fcn.10074180
push edi
call fcn.1011bfcc
add esp, 4
lea ecx, [ebp - 0x340]
call fcn.10073830
push 0
mov ecx, dword [eax]
mov dword [ebp - 0x23c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x238], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x230], eax
mov eax, dword [esi + 0x28]
sub eax, 0x10
mov dword [ebp - 0x234], ecx
push eax
push dword [esi + 0x24]
call fcn.10120339
add esp, 0xc
test eax, eax
jne 0x100e4b2a
push dword [esi + 0x24]
lea eax, [ebp - 0x20]
push 0x10
push 1
push eax
call fcn.101201fe
add esp, 0x10
cmp eax, 0x10
jne 0x100e4b2a
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x23c]
lea esi, [eax - 4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100e4c3d
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100e4c28
xor eax, eax
jmp 0x100e4c62
cmp al, byte [edx]
jne 0x100e4c5d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100e4c5d
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100e4c5d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100e4c5d
xor eax, eax
jmp 0x100e4c62
sbb eax, eax
or eax, 1
xor ebx, ebx
test eax, eax
setne bl
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], 0xffffffff
call fcn.1000baf0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret