Function at 0x10084ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013a531
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x10193008]
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 ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0xc8], edi
call fcn.10086100
mov eax, dword [ebx]
push 0x80
push 3
push ecx
mov dword [ebx + 4], eax
mov ecx, esi
push 0
mov byte [edi], 0
call fcn.100062d0
mov edx, SysReAllocString
mov ecx, eax
call fcn.10064f70
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x10084d7a
test esi, esi
je 0x10084d7a
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xd0]
movlpd qword [ebp - 0xd8], xmm0
push eax
lea eax, [ebp - 0xd8]
movlpd qword [ebp - 0xd0], xmm0
push eax
push dword [ebp - 0x20]
movlpd qword [ebp - 0xe0], xmm0
call fcn.100854a0
test al, al
je 0x10084d1b
mov edi, dword [ebp - 0xd8]
mov ecx, edi
mov eax, dword [ebp - 0xd4]
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x10084d15
jb 0x10084cbd
cmp ecx, 0x4ffffe
ja 0x10084d15
lea eax, [ebp - 0xc1]
mov byte [ebp - 0xc1], 0
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.1001ac90
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push edi
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp ecx, dword [ebp - 0xd4]
ja 0x10084d15
jb 0x10084cff
cmp eax, edi
jae 0x10084d15
mov byte [ebp - 0xc1], cl
lea ecx, [ebp - 0xc1]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.1001ac90
mov edi, dword [ebp - 0xc8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x10084d9a
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10084d7a
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10084d5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100852e4
push edx
push ecx
call fcn.101031a0
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor al, al
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.10102ce9
mov esp, ebp
pop ebp
ret 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc0]
call fcn.101010a0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
push edx
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.100298b0
test al, al
jne 0x10084e42
mov byte [edi], 1
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10084d2a
mov edx, dword [ebp - 0x24]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10084e1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100852e9
push edx
push ecx
call fcn.101031a0
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
jmp 0x10084d2a
mov eax, dword [ebp - 0x28]
xor edx, edx
mov edi, dword [ebp - 0x2c]
mov ecx, 0x3e8
sub eax, edi
div ecx
mov esi, eax
mov dword [ebp - 0xdc], esi
test edx, edx
je 0x10084e9b
mov eax, dword [ebp - 0xc8]
mov byte [eax], 1
mov byte [ebp - 4], 0
test edi, edi
je 0x10084d2a
mov ecx, dword [ebp - 0x24]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x10084e97
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100852e4
push ecx
push edi
jmp 0x10084e20
test esi, esi
jne 0x10084f44
mov byte [ebp - 4], 0
test edi, edi
je 0x10084eed
mov ecx, dword [ebp - 0x24]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x10084ece
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100852e4
push ecx
push edi
call fcn.101031a0
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10084f3d
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10084f1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100852e4
push edx
push ecx
call fcn.101031a0
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, 1
jmp 0x10084d7c
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push eax
push esi
mov ecx, eax
call fcn.10085b30
imul eax, esi, 0x3e8
push eax
push edi
push dword [ebp - 0x38]
call fcn.10106ed0
mov ecx, dword [ebp - 0x34]
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x38]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1008500c
xor eax, eax
xor ecx, ecx
nop word [eax + eax]
cmp dword [eax + esi], 0x23ab45db
jne 0x10085067
xor edx, edx
inc ecx
mov word [eax + esi + 0x282], dx
mov word [eax + esi + 0x382], dx
mov word [eax + esi + 0x3ca], dx
add eax, 0x3e8
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0xcc], eax
mov eax, 0x10624dd3
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x34]
sub ecx, esi
imul ecx
mov ecx, dword [ebp - 0x20]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
mov eax, dword [ebp - 0xcc]
jb 0x10084fb0
mov ecx, dword [ebx + 8]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebx]
mov esi, dword [ebp - 0xdc]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x100850e5
mov dword [ebp - 0xdc], 0x2762762
call fcn.10004870
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.10004dd0
add esp, 8
mov eax, dword [eax]
cmp esi, eax
ja 0x100852ee
jmp 0x100850dd
mov eax, dword [ebp - 0xc8]
mov byte [eax], 1
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x10084e68
mov ecx, dword [ebp - 0x30]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x100850b9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100852e4
push ecx
push esi
call fcn.101031a0
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
jmp 0x10084e68
push esi
mov ecx, ebx
call fcn.10085900
lea ecx, [ebp - 0xa0]
call fcn.10082f50
mov byte [ebp - 4], 3
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
sub ecx, esi
imul ecx
mov dword [ebp - 0x20], esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10085248
xor eax, eax
xor edi, edi
mov dword [ebp - 0xcc], eax
add eax, 4
add esi, eax
push esi
call fcn.10005290
add esp, 4
lea ecx, [ebp - 0xa0]
push eax
push esi
call fcn.10004bc0
mov eax, dword [ebp - 0xcc]
mov esi, dword [ebp - 0x20]
add eax, 0x284
add esi, eax
push esi
call fcn.10005290
add esp, 4
lea ecx, [ebp - 0x88]
push eax
push esi
call fcn.10004bc0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xcc]
lea esi, [ecx + 0x384]
mov eax, dword [edx + ecx + 0x3cc]
add esi, edx
mov dword [ebp - 0x58], eax
mov eax, dword [edx + ecx + 0x3d0]
mov dword [ebp - 0x54], eax
mov eax, dword [edx + ecx + 0x3d4]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + ecx + 0x3d8]
mov dword [ebp - 0x4c], eax
mov eax, dword [edx + ecx + 0x3dc]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + ecx + 0x3e0]
push esi
mov dword [ebp - 0x44], eax
call fcn.10005290
add esp, 4
lea ecx, [ebp - 0x70]
push eax
push esi
call fcn.10004bc0
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0xcc]
mov eax, dword [esi + ecx + 0x3e4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 4]
mov byte [ebp - 0x3c], 0
cmp dword [ebx + 8], eax
je 0x100851ff
push eax
push 0x68
call fcn.10004860
add esp, 8
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.10083970
add dword [ebx + 4], 0x68
jmp 0x1008520e
lea ecx, [ebp - 0xa0]
push ecx
push eax
mov ecx, ebx
call fcn.10085f00
mov ecx, dword [ebp - 0x34]
add esi, 0x3e8
mov dword [ebp - 0xcc], esi
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x38]
inc edi
sub ecx, esi
mov dword [ebp - 0x20], esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
mov eax, dword [ebp - 0xcc]
jb 0x10085120
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc8]
mov byte [eax], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.10004a60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.10004a60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.10004a60
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x10084ea3
mov ecx, dword [ebp - 0x30]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x100852c0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100852e4
push ecx
push esi
call fcn.101031a0
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
jmp 0x10084ea3
call fcn.10107654
call fcn.10107654
call fcn.100159a0
int3