Function at 0x100b23d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023f151
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x102ca474]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xd4], eax
call fcn.100b3f10
mov eax, dword [ebx]
push 0x80
mov dword [ebx + 4], eax
mov ebx, dword [ebp - 0xd4]
push 3
push ecx
push 0
mov ecx, edi
mov byte [ebx], 0
call fcn.10008714
mov edx, accept
mov ecx, eax
call fcn.10078f40
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x100b25c6
test esi, esi
je 0x100b25c6
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.100086d6
mov dword [ebp - 4], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0xf4]
movlpd qword [ebp - 0x104], xmm0
push eax
lea eax, [ebp - 0x104]
movlpd qword [ebp - 0xf4], xmm0
push eax
push edi
movlpd qword [ebp - 0x11c], xmm0
call fcn.100b3280
test al, al
je 0x100b254b
mov edi, dword [ebp - 0x104]
mov ecx, edi
mov ebx, dword [ebp - 0x100]
add ecx, 0xffffffff
mov eax, ebx
adc eax, 0xffffffff
test eax, eax
ja 0x100b2545
jb 0x100b24e9
cmp ecx, 0x4ffffe
ja 0x100b2545
lea eax, [ebp - 0xc5]
mov byte [ebp - 0xc5], 0
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.10029b20
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x24], 0
call fcn.10005e30
push 0
lea ecx, [ebp - 0x24]
push ecx
mov eax, dword [eax]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp ecx, ebx
ja 0x100b2545
jb 0x100b252f
cmp eax, edi
jae 0x100b2545
mov byte [ebp - 0xc5], cl
lea ecx, [ebp - 0xc5]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10029b20
mov ebx, dword [ebp - 0xd4]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.10010552
test al, al
jne 0x100b25b7
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.100086d6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.101dad00
lea ecx, [ebp - 0x30]
call fcn.10005e30
mov edx, dword [eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.1001055b
push eax
push edx
lea ecx, [ebp - 0xc4]
call fcn.100389d0
test al, al
jne 0x100b25e6
mov byte [ebx], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10010561
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10010561
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 - 0x14]
xor ecx, ebp
call fcn.101e7040
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x3c]
call fcn.1001055b
xor edx, edx
mov ecx, 0x3e8
div ecx
test edx, edx
jne 0x100b25a8
lea ecx, [ebp - 0x3c]
call fcn.1001055b
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov ebx, edx
shr ebx, 6
test ebx, ebx
je 0x100b2ef6
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, eax
call fcn.100b3940
lea ecx, [ebp - 0x3c]
call fcn.10005e30
mov ecx, dword [eax]
imul eax, ebx, 0x3e8
push eax
push ecx
push dword [ebp - 0x20]
call fcn.101feb30
mov edi, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0xd8], ecx
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100b26e4
xor esi, esi
nop
cmp dword [edi + esi], 0x23ab45db
jne 0x100b273f
inc dword [ebp - 0xd8]
xor eax, eax
mov word [edi + esi + 0x282], ax
mov word [edi + esi + 0x382], ax
mov word [edi + esi + 0x3ca], ax
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x1c]
add esi, 0x3e8
mov edi, dword [ebp - 0x20]
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xd8], eax
jb 0x100b2690
mov esi, dword [ebp - 0xf8]
mov eax, 0x4ec4ec4f
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jbe 0x100b27bd
mov dword [ebp - 0xe0], 0x2762762
call fcn.10005b8c
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.10005f5c
add esp, 8
mov eax, dword [eax]
cmp ebx, eax
ja 0x100b2f18
jmp 0x100b27b5
mov eax, dword [ebp - 0xd4]
mov byte [eax], 1
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x100b25ab
mov ecx, dword [ebp - 0x18]
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 0x100b2791
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2f1d
push ecx
push esi
call fcn.101e74c0
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x100b25ab
push ebx
mov ecx, esi
call fcn.100b3710
lea ecx, [ebp - 0xa4]
call fcn.100afdf0
mov byte [ebp - 4], 3
mov eax, 0x10624dd3
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
mov dword [ebp - 0xdc], 0
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100b2e63
lea ecx, [ebp - 0xa4]
call fcn.10005e30
xor ebx, ebx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe0], ebx
nop
lea eax, [esi + ebx]
mov dword [ebp - 0xcc], eax
add eax, 4
push eax
call fcn.10005f42
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0xd8]
mov ebx, dword [eax + 0x14]
cmp edi, ebx
ja 0x100b2876
mov esi, eax
cmp ebx, 8
jb 0x100b283d
mov esi, dword [eax]
mov dword [eax + 0x10], edi
mov eax, dword [ebp - 0xcc]
push edi
add eax, 4
push eax
push esi
call fcn.10005f10
add esp, 0xc
mov dword [ebp - 0xd0], 0
lea eax, [ebp - 0xd0]
push eax
lea eax, [esi + edi*2]
push eax
call fcn.10005eff
add esp, 8
jmp 0x100b29eb
lea ecx, [ebp - 0xa4]
call fcn.1000608d
cmp edi, eax
ja 0x100b2f27
lea ecx, [ebp - 0xa4]
call fcn.1000608d
lea ecx, [ebp - 0xa4]
mov esi, eax
call fcn.10005e30
mov ecx, edi
or ecx, 7
mov dword [ebp - 0x10c], ecx
cmp ecx, esi
ja 0x100b28e0
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x100b28e0
lea eax, [ecx + edx]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.10005ed6
add esp, 8
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x100b28f2
or ecx, 0xffffffff
jmp 0x100b28fa
cmp ecx, 0x1000
jb 0x100b2925
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.101e74f1
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100b2f1d
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x100b2936
test ecx, ecx
je 0x100b2934
push ecx
call fcn.101e74f1
add esp, 4
jmp 0x100b2936
xor eax, eax
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xd8]
push edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], esi
mov eax, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xe4]
add eax, 4
push eax
push esi
call fcn.10005f29
add esp, 0xc
mov dword [ebp - 0xd0], 0
lea eax, [ebp - 0xd0]
push eax
lea eax, [esi + edi*2]
push eax
call fcn.10005eff
mov edi, dword [ebp - 0xd8]
add esp, 8
cmp ebx, 8
jb 0x100b29c5
mov eax, dword [edi]
lea ecx, [ebx*2 + 2]
cmp ecx, 0x1000
jb 0x100b29b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2f1d
mov eax, edx
push ecx
push eax
call fcn.101e74c0
mov eax, dword [ebp - 0xe4]
add esp, 8
mov dword [edi], eax
jmp 0x100b29eb
push edi
call fcn.10005f6e
add esp, 4
push eax
push 4
call fcn.10005b84
mov esi, eax
lea eax, [ebp - 0xe4]
push eax
call fcn.10005f6e
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [ebp - 0xcc]
add eax, 0x284
push eax
call fcn.10005f42
add esp, 4
lea ecx, [ebp - 0x8c]
mov ebx, eax
call fcn.10005e30
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xf0], eax
cmp ebx, eax
ja 0x100b2a5f
mov esi, edi
cmp eax, 8
jb 0x100b2a24
mov esi, dword [edi]
mov eax, dword [ebp - 0xcc]
push ebx
add eax, 0x284
mov dword [edi + 0x10], ebx
push eax
push esi
call fcn.10005f10
add esp, 0xc
mov dword [ebp - 0xd0], 0
lea eax, [ebp - 0xd0]
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.10005eff
add esp, 8
jmp 0x100b2bd0
lea ecx, [ebp - 0x8c]
call fcn.1000608d
cmp ebx, eax
ja 0x100b2f27
lea ecx, [ebp - 0x8c]
call fcn.1000608d
lea ecx, [ebp - 0x8c]
mov esi, eax
call fcn.10005e30
mov ecx, ebx
or ecx, 7
mov dword [ebp - 0x114], ecx
cmp ecx, esi
ja 0x100b2ac9
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x100b2ac9
lea eax, [ecx + edx]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.10005ed6
add esp, 8
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x100b2adb
or ecx, 0xffffffff
jmp 0x100b2ae3
cmp ecx, 0x1000
jb 0x100b2b0e
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.101e74f1
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100b2f1d
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x100b2b1f
test ecx, ecx
je 0x100b2b1d
push ecx
call fcn.101e74f1
add esp, 4
jmp 0x100b2b1f
xor eax, eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xcc]
push ebx
add eax, 0x284
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0xe8]
push eax
push esi
call fcn.10005f29
add esp, 0xc
mov dword [ebp - 0xd0], 0
lea eax, [ebp - 0xd0]
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.10005eff
mov ecx, dword [ebp - 0xf0]
add esp, 8
cmp ecx, 8
jb 0x100b2baa
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x100b2b96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2f1d
mov eax, edx
push ecx
push eax
call fcn.101e74c0
mov eax, dword [ebp - 0xe8]
add esp, 8
mov dword [edi], eax
jmp 0x100b2bd0
push edi
call fcn.10005f6e
add esp, 4
push eax
push 4
call fcn.10005b84
mov esi, eax
lea eax, [ebp - 0xe8]
push eax
call fcn.10005f6e
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ecx + 0x3cc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx + 0x3d0]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 0x3d4]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0x3d8]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0x3dc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 0x3e0]
mov dword [ebp - 0x48], eax
lea eax, [ecx + 0x384]
push eax
call fcn.10005f42
add esp, 4
lea ecx, [ebp - 0x74]
mov ebx, eax
call fcn.10005e30
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xd0], eax
cmp ebx, eax
ja 0x100b2c78
mov esi, edi
cmp eax, 8
jb 0x100b2c3d
mov esi, dword [edi]
mov eax, dword [ebp - 0xcc]
push ebx
add eax, 0x384
mov dword [edi + 0x10], ebx
push eax
push esi
call fcn.10005f10
add esp, 0xc
mov dword [ebp - 0xf0], 0
lea eax, [ebp - 0xf0]
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.10005eff
add esp, 8
jmp 0x100b2dd4
lea ecx, [ebp - 0x74]
call fcn.1000608d
cmp ebx, eax
ja 0x100b2f27
lea ecx, [ebp - 0x74]
call fcn.1000608d
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.10005e30
mov ecx, ebx
or ecx, 7
mov dword [ebp - 0x100], ecx
cmp ecx, esi
ja 0x100b2cd9
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, esi
sub eax, ecx
cmp edx, eax
ja 0x100b2cd9
lea eax, [ecx + edx]
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.10005ed6
add esp, 8
mov esi, dword [eax]
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x100b2ceb
or ecx, 0xffffffff
jmp 0x100b2cf3
cmp ecx, 0x1000
jb 0x100b2d1e
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.101e74f1
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100b2f1d
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x100b2d2f
test ecx, ecx
je 0x100b2d2d
push ecx
call fcn.101e74f1
add esp, 4
jmp 0x100b2d2f
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xcc]
push ebx
add eax, 0x384
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov esi, dword [ebp - 0x24]
push eax
push esi
call fcn.10005f29
add esp, 0xc
mov dword [ebp - 0xf0], 0
lea eax, [ebp - 0xf0]
push eax
lea eax, [esi + ebx*2]
push eax
call fcn.10005eff
mov ecx, dword [ebp - 0xd0]
add esp, 8
cmp ecx, 8
jb 0x100b2db1
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x100b2da0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2f1d
mov eax, edx
push ecx
push eax
call fcn.101e74c0
mov eax, dword [ebp - 0x24]
add esp, 8
mov dword [edi], eax
jmp 0x100b2dd4
push edi
call fcn.10005f6e
add esp, 4
push eax
push 4
call fcn.10005b84
mov esi, eax
lea eax, [ebp - 0x24]
push eax
call fcn.10005f6e
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0xf8]
mov eax, dword [eax + 0x3e4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 4]
mov byte [ebp - 0x40], 0
cmp dword [ebx + 8], eax
je 0x100b2e14
push eax
push 0x68
call fcn.10005b84
add esp, 8
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.100b0e30
add dword [ebx + 4], 0x68
jmp 0x100b2e23
lea ecx, [ebp - 0xa4]
push ecx
push eax
mov ecx, ebx
call fcn.100b3d10
mov ecx, dword [ebp - 0x1c]
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x20]
sub ecx, esi
mov edi, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0xe0]
inc edi
imul ecx
add ebx, 0x3e8
mov dword [ebp - 0xdc], edi
sar edx, 6
mov eax, edx
mov dword [ebp - 0xe0], ebx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100b2810
mov eax, dword [ebp - 0xd4]
mov byte [eax], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.10005e05
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.10005e05
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.10005e05
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x100b2ef6
mov ecx, dword [ebp - 0x18]
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 0x100b2ed7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2f22
push ecx
push esi
call fcn.101e74c0
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10010561
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10010561
mov al, 1
jmp 0x100b25c8
call fcn.10008d10
call fcn.102086be
call fcn.102086be
call fcn.1000604b
int3