Function at 0x11059eb0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x45c
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x10]
push esi
push edi
push 0
push eax
push 4
lea eax, [esp + 0x20]
mov ebx, ecx
push eax
push ebx
mov dword [esp + 0x30], ebx
call ebp
cmp dword [esp + 0x18], 4
je 0x11059eeb
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x45c
ret
mov edi, dword [esp + 0x14]
cmp edi, 2
jbe 0x11059f30
mov ecx, dword [0x110e54ac]
mov eax, 0x77975b9
sub ecx, dword [0x110e54a4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jae 0x11059f30
cmp edi, 0x3bcbad
ja 0x1105a18c
push edi
mov ecx, 0x110e54a4
call fcn.1105abc0
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x11059f60
push 0
lea eax, [esp + 0x1c]
push eax
push 0x448
lea eax, [esp + 0x2c]
push eax
push ebx
call ebp
lea eax, [esp + 0x20]
mov ecx, 0x110e54a4
push eax
call fcn.1105a9e0
inc esi
cmp esi, dword [esp + 0x14]
jb 0x11059f36
push 0
lea eax, [esp + 0x1c]
push eax
push 4
lea eax, [esp + 0x20]
push eax
push ebx
call ebp
cmp dword [esp + 0x18], 4
jne 0x11059ede
mov esi, dword [esp + 0x14]
cmp esi, 2
jbe 0x11059fc1
mov ecx, dword [0x110e54b8]
mov eax, 0x77975b9
sub ecx, dword [0x110e54b0]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jae 0x11059fc1
cmp esi, 0x3bcbad
ja 0x1105a196
push esi
mov ecx, 0x110e54b0
call fcn.1105abc0
mov esi, dword [esp + 0x14]
xor edi, edi
test esi, esi
je 0x1105a059
jmp 0x11059fd0
push 0
lea eax, [esp + 0x1c]
push eax
push 0x448
lea eax, [esp + 0x2c]
push eax
push ebx
call ebp
mov ax, word [esp + 0x466]
test ax, ax
jle 0x1105a03f
movsx ecx, ax
call fcn.11056ad0
cmp eax, 0xffffffff
je 0x1105a03f
imul esi, eax, 0x1bc
mov eax, dword [0x110e5498]
add eax, 8
push 0xffffffffffffffff
add eax, esi
push eax
lea eax, [esp + 0x30]
push 0x40
push eax
call fcn.11089e9c
mov eax, dword [0x110e5498]
add eax, 0x48
push 0xffffffffffffffff
add eax, esi
push eax
lea eax, [esp + 0x80]
push 0x200
push eax
call fcn.11089e9c
add esp, 0x20
lea eax, [esp + 0x20]
mov ecx, 0x110e54b0
push eax
call fcn.1105a9e0
inc edi
cmp edi, dword [esp + 0x14]
jb 0x11059fd0
push 0
lea eax, [esp + 0x1c]
push eax
push 4
lea eax, [esp + 0x20]
push eax
push ebx
call ebp
mov esi, dword [esp + 0x14]
cmp esi, 2
jbe 0x1105a0af
mov ecx, dword [0x110e54c4]
mov eax, 0x77975b9
sub ecx, dword [0x110e54bc]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jae 0x1105a0af
cmp esi, 0x3bcbad
ja 0x1105a1a0
push esi
mov ecx, 0x110e54bc
call fcn.1105abc0
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], 4
jne 0x11059ede
xor ebp, ebp
test esi, esi
je 0x1105a17f
push 0
lea eax, [esp + 0x1c]
push eax
push 0x448
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [0x110e54c0]
lea eax, [esp + 0x20]
cmp eax, edi
jae 0x1105a136
mov ebx, dword [0x110e54bc]
cmp ebx, eax
ja 0x1105a136
mov ecx, eax
mov eax, 0x77975b9
sub ecx, ebx
imul ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [0x110e54c4]
jne 0x1105a128
push ecx
mov ecx, 0x110e54bc
call fcn.1105ab30
mov edi, dword [0x110e54c0]
mov ebx, dword [0x110e54bc]
test edi, edi
je 0x1105a164
imul esi, esi, 0x448
add esi, ebx
jmp 0x1105a157
cmp edi, dword [0x110e54c4]
jne 0x1105a14f
push ecx
mov ecx, 0x110e54bc
call fcn.1105ab30
mov edi, dword [0x110e54c0]
test edi, edi
je 0x1105a164
lea esi, [esp + 0x20]
mov ecx, 0x112
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x110e54c0]
mov ebx, dword [esp + 0x1c]
add edi, 0x448
inc ebp
mov dword [0x110e54c0], edi
cmp ebp, dword [esp + 0x14]
jb 0x1105a0c4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x45c
ret
push str.vector_T__too_long
call fcn.1107d07e
push str.vector_T__too_long
call fcn.1107d07e
push str.vector_T__too_long
call fcn.1107d07e
int3