Function at 0x11d35700
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x11fa7961
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe80
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x82]
mov word [esp + 0x80], bp
mov dword [esp + 0x24], ebp
rep stosd dword es:[edi], eax
cmp dword [esp + 0xea8], ebp
je 0x11d3591a
mov edi, dword [esp + 0xea4]
lea ecx, [esp + 0x18]
push edi
call fcn.11e7e980
mov esi, dword [eax]
mov eax, dword [esp + 0xea0]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0xe9c], ebp
call fcn.11e7e980
mov eax, dword [eax]
lea ecx, [esp + 0x80]
push 0x104
push ecx
push esi
push eax
mov byte [esp + 0xea8], 1
call fcn.11d349a0
add esp, 0x10
lea ecx, [esp + 0x1c]
test eax, eax
sete bl
mov byte [esp + 0xe98], 0
call fcn.11e7f280
or esi, 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0xe98], esi
call fcn.11e7f280
test bl, bl
jne 0x11d35f4b
push edi
lea ecx, [esp + 0x14]
call fcn.11e7e980
lea edx, [esp + 0x80]
lea ecx, [esp + 0x14]
push edx
mov dword [esp + 0xe9c], 2
call fcn.11e7eae0
push 0x12079fa8
lea ecx, [esp + 0x14]
mov byte [esp + 0xe9c], 3
call fcn.11e83e40
cmp eax, esi
je 0x11d3581d
push str.filelist
lea ecx, [esp + 0x18]
call fcn.11e83e40
cmp eax, esi
jne 0x11d358be
xor esi, esi
call fcn.11dfa600
test eax, eax
jle 0x11d35840
lea eax, [esp + 0x80]
push 1
push eax
call fcn.11df9800
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x11d3585b
call fcn.11cbb180
test eax, eax
jle 0x11d3585b
lea ecx, [esp + 0x80]
push ecx
call fcn.11cbc4e0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x18]
call fcn.11e16080
cmp esi, ebp
mov byte [esp + 0xe98], 4
jne 0x11d358a3
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0xa0]
push ebp
push edx
call fcn.11ee1fb0
add esp, 0x28
cmp eax, 3
jne 0x11d358df
lea eax, [esp + 0x80]
push ebp
push eax
call fcn.11ee5500
add esp, 8
test eax, eax
je 0x11d358df
lea ecx, [esp + 0x18]
mov byte [esp + 0xe98], 3
call fcn.11e16090
mov dword [esp + 0x24], 1
jmp 0x11d358f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xe98], 2
call fcn.11e7f280
mov dword [esp + 0xe98], esi
lea ecx, [esp + 0x10]
jmp 0x11d35bfd
lea ecx, [esp + 0x18]
mov byte [esp + 0xe98], 3
call fcn.11e16090
lea ecx, [esp + 0x14]
mov byte [esp + 0xe98], 2
call fcn.11e7f280
lea ecx, [esp + 0x10]
mov dword [esp + 0xe98], 0xffffffff
call fcn.11e7f280
jmp 0x11d35f4b
mov esi, dword [esp + 0xea4]
lea ecx, [esp + 0x14]
push esi
call fcn.11e7e980
lea ecx, [esp + 0x2c]
mov dword [esp + 0xe98], 5
call fcn.11e84ba0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push 0x12079ab0
push edx
mov byte [esp + 0xea4], 6
call fcn.11e89bb0
mov eax, dword [esp + 0x3c]
add esp, 0xc
cmp eax, ebp
jle 0x11d35b89
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax*4 - 4]
lea ecx, [esp + 0x10]
push edx
call fcn.11e7e880
mov eax, dword [esp + 0x10]
mov byte [esp + 0xe98], 7
cmp word [eax], 0x40
je 0x11d35bb3
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x54]
mov dword [esp + 0x50], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x1ff
lea edi, [esp + 0x692]
mov word [esp + 0x690], bp
push esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
stosw word es:[edi], ax
call fcn.11e7e980
mov eax, dword [eax]
push 0x3ff
push eax
lea eax, [esp + 0x698]
push eax
mov byte [esp + 0xea4], 8
call fcn.11e674bf
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe98], 7
call fcn.11e7f280
push ebp
lea ecx, [esp + 0x54]
push 0xc
lea edx, [esp + 0x698]
push ecx
push edx
call fcn.11d344c0
mov edx, dword [esp + 0xeb0]
add esp, 0x10
mov ebx, eax
test edx, edx
mov dword [esp + 0x28], ebx
je 0x11d35a66
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x11d35a66
push edx
lea ecx, [esp + 0x20]
call fcn.11e7e980
mov ecx, dword [esp + 0x50]
mov eax, dword [eax]
push ecx
push eax
mov byte [esp + 0xea0], 9
call fcn.11d34ae0
add esp, 8
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0xe98], 7
call fcn.11e7f280
test esi, esi
je 0x11d35a6b
mov ebp, 1
cmp ebp, ebx
jge 0x11d35b78
lea ebx, [esp + ebp*4 + 0x4c]
cmp ebp, 0xc
jge 0x11d35b78
xor esi, esi
add ebx, 4
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x28e]
mov word [esp + 0x28c], si
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
lea edx, [esp + 0x28c]
push 0x104
push edx
push eax
inc ebp
call fcn.11d34e30
add esp, 0xc
test eax, eax
je 0x11d35b53
call fcn.11dfa600
test eax, eax
jle 0x11d35adf
lea ecx, [esp + 0x28c]
push 1
push ecx
call fcn.11df9800
mov esi, eax
add esp, 8
test esi, esi
jne 0x11d35afa
call fcn.11cbb180
test eax, eax
jle 0x11d35afa
lea edx, [esp + 0x28c]
push edx
call fcn.11cbc4e0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x18]
call fcn.11e16080
test esi, esi
mov byte [esp + 0xe98], 0xa
jne 0x11d35b5f
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [esp + 0x2ac]
push esi
push eax
call fcn.11ee1fb0
add esp, 0x28
cmp eax, 3
jne 0x11d35b42
lea ecx, [esp + 0x28c]
push esi
push ecx
call fcn.11ee5500
add esp, 8
test eax, eax
jne 0x11d35b5f
lea ecx, [esp + 0x18]
mov byte [esp + 0xe98], 7
call fcn.11e16090
cmp ebp, dword [esp + 0x28]
jl 0x11d35a77
jmp 0x11d35b78
lea ecx, [esp + 0x18]
mov byte [esp + 0xe98], 7
call fcn.11e16090
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0xe98], 6
call fcn.11e7f280
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe98], 5
call fcn.11e84bb0
lea ecx, [esp + 0x14]
mov dword [esp + 0xe98], 0xffffffff
call fcn.11e7f280
jmp 0x11d35f4b
add eax, 2
push 0x103
lea edx, [esp + 0x84]
push eax
push edx
call fcn.11e674bf
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0xe98], 6
call fcn.11e7f280
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe98], 5
call fcn.11e84bb0
mov dword [esp + 0xe98], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.11e7f280
push 2
lea ecx, [esp + 0x30]
call fcn.11e15fa0
push ebp
push ebp
push 4
push ebp
push ebp
lea eax, [esp + 0x94]
push bind
push eax
mov dword [esp + 0xeb4], 0xb
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x11d35e03
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x28d]
mov byte [esp + 0x28c], 0
rep stosd dword es:[edi], eax
push 0x12119948
lea ecx, [esp + 0x18]
stosb byte es:[edi], al
call fcn.11e7eae0
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x18]
push ebp
push ecx
lea edx, [esp + 0x2a]
push 2
push edx
mov byte [esp + 0xea8], 0xc
push esi
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x36], 0
mov byte [esp + 0x37], 0
mov byte [esp + 0x3c], 0xff
mov byte [esp + 0x3d], 0xfe
mov ebx, 1
call edi
test eax, eax
jne 0x11d35cae
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x11d35df2
lea eax, [esp + 0x28]
push 2
lea ecx, [esp + 0x26]
push eax
push ecx
call fcn.11e68e80
add esp, 0xc
test eax, eax
je 0x11d35cd2
push ebp
push ebp
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ebx, ebx
lea edx, [esp + 0x18]
push ebp
push edx
lea eax, [esp + 0x294]
push 0x400
push eax
push esi
call edi
test eax, eax
je 0x11d35d81
cmp ebx, ebp
je 0x11d35d25
lea ecx, [esp + 0x28c]
push ecx
lea ecx, [esp + 0x20]
call fcn.11e7eae0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe9c], 0xd
call fcn.11e7ff30
mov byte [esp + 0xe98], 0xc
lea ecx, [esp + 0x1c]
jmp 0x11d35d54
lea edx, [esp + 0x28c]
lea ecx, [esp + 0x10]
push edx
call fcn.11e7e980
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe9c], 0xe
call fcn.11e7ff30
mov byte [esp + 0xe98], 0xc
lea ecx, [esp + 0x10]
call fcn.11e7f280
cmp dword [esp + 0x18], 0x400
jb 0x11d35d81
lea eax, [esp + 0x18]
push ebp
push eax
lea ecx, [esp + 0x294]
push 0x400
push ecx
push esi
call edi
test eax, eax
jne 0x11d35cf0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x40]
call fcn.11e84ba0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0xe9c], 0xf
call fcn.11e7e880
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push ecx
push 0x12038d18
push eax
mov byte [esp + 0xea4], 0x10
call fcn.11e89bb0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe98], 0xf
call fcn.11e7f280
mov eax, dword [esp + 0x44]
cmp eax, ebp
mov dword [esp + 0x3c], eax
ja 0x11d35e1e
lea ecx, [esp + 0x40]
mov byte [esp + 0xe98], 0xc
call fcn.11e84bb0
lea ecx, [esp + 0x14]
mov byte [esp + 0xe98], 0xb
call fcn.11e7f280
lea ecx, [esp + 0x2c]
mov dword [esp + 0xe98], 0xffffffff
call fcn.11e15fd0
xor eax, eax
jmp 0x11d35f4f
xor edi, edi
cmp eax, ebp
jbe 0x11d35f15
mov bl, 0x11
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x10]
lea eax, [edx + edi*4]
push eax
call fcn.11e7e880
mov byte [esp + 0xe98], bl
xor esi, esi
call fcn.11dfa600
test eax, eax
jle 0x11d35e62
mov ecx, dword [esp + 0x10]
push 1
push ecx
call fcn.11df9800
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x11d35e7a
call fcn.11cbb180
test eax, eax
jle 0x11d35e7a
mov edx, dword [esp + 0x10]
push edx
call fcn.11cbc4e0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x1c]
call fcn.11e16080
cmp esi, ebp
mov byte [esp + 0xe98], 0x12
jne 0x11d35eec
mov eax, dword [esp + 0x10]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
call fcn.11ee1fb0
add esp, 0x28
cmp eax, 3
jne 0x11d35ebc
mov ecx, dword [esp + 0x10]
push ebp
push ecx
call fcn.11ee5500
add esp, 8
test eax, eax
jne 0x11d35eec
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe98], bl
call fcn.11e16090
lea ecx, [esp + 0x10]
mov byte [esp + 0xe98], 0xf
call fcn.11e7f280
mov eax, dword [esp + 0x3c]
inc edi
cmp edi, eax
jb 0x11d35e2a
jmp 0x11d35f15
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe98], bl
call fcn.11e16090
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 1
mov byte [esp + 0xe98], 0xf
call fcn.11e7f280
lea ecx, [esp + 0x40]
mov byte [esp + 0xe98], 0xc
call fcn.11e84bb0
lea ecx, [esp + 0x14]
mov byte [esp + 0xe98], 0xb
call fcn.11e7f280
lea ecx, [esp + 0x2c]
mov dword [esp + 0xe98], 0xffffffff
call fcn.11e15fd0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xe90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe8c
ret