Function at 0x100882f0
Capabilities:
Move file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bcfa4
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10248f44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x6c], esi
mov eax, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x8c], eax
push esi
mov dword [ebp - 0x68], 0
call fcn.1004d8a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
mov edx, esi
mov dword [ebp - 0x68], 1
call fcn.10087820
mov dword [ebp - 4], 1
cmp dword [ebp - 0x48], 0
jbe 0x100883a0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100888fc
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100888f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008891c
jmp 0x100888f2
xor edi, edi
mov dword [ebp - 0x60], edi
cmp dword [esi + 0x10], edi
je 0x10088369
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x100883b4
mov edx, dword [esi]
push 0x1022de54
lea ecx, [ebp - 0x60]
call fcn.10089750
add esp, 4
test eax, eax
jne 0x1008846f
push 0x100000
call fcn.1019ce70
mov esi, eax
add esp, 4
test esi, esi
je 0x10088471
push dword [ebp - 0x60]
push 0x100000
push 1
push esi
call fcn.101973fd
add esp, 0x10
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10088471
nop dword [eax]
test edi, edi
jne 0x10088448
push 0x14
call fcn.1018a730
mov edi, eax
xorps xmm0, xmm0
mov eax, 0x8000
mov dword [ebp - 0x70], edi
add esp, 4
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi], vtable.GrowBuf.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [edi + 4], 0
mov word [edi + 0x12], ax
push dword [ebp - 0x5c]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 4]
push dword [ebp - 0x60]
push 0x100000
push 1
push esi
call fcn.101973fd
add esp, 0x10
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x10088400
jmp 0x10088471
xor esi, esi
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x10088488
push eax
call fcn.10193392
add esp, 4
mov dword [ebp - 0x60], 0
test esi, esi
je 0x10088495
push esi
call fcn.1019be4e
add esp, 4
test edi, edi
je 0x10088369
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
call eax
mov dword [ebp - 0x5c], eax
mov ecx, 7
cmp esi, 0x10
jb case.0x100884e6.1
mov esi, eax
movzx eax, byte [esi]
cmp eax, 0x4d
ja 0x1008859e
je 0x10088595
cmp eax, 0x49
ja case.0x100884e6.1
movzx eax, byte [eax + 0x10088940]
jmp dword [eax*4 + 0x1008892c]
push 6
push str.GIF87a
push esi
call fcn.10196d30
add esp, 0xc
test eax, eax
je 0x10088519
push 6
push str.GIF89a
push esi
call fcn.10196d30
add esp, 0xc
test eax, eax
jne 0x10088616
mov ecx, 2
jmp case.0x100884e6.1
push 4
push 0x102311d0
push esi
call fcn.10196d30
add esp, 0xc
test eax, eax
jne 0x10088616
lea ecx, [eax + 3]
jmp case.0x100884e6.1
cmp byte [esi + 1], 0x4d
mov ecx, 4
mov eax, 7
cmovne ecx, eax
jmp case.0x100884e6.1
push 4
push 0x102311f0
push esi
call fcn.10196d30
add esp, 0xc
test eax, eax
jne 0x10088575
lea ecx, [eax + 6]
jmp case.0x100884e6.1
push 4
push 0x102311d8
push esi
call fcn.10196d30
add esp, 0xc
test eax, eax
jne 0x10088616
lea ecx, [eax + 6]
jmp case.0x100884e6.1
push 4
push 0x102311b8
jmp 0x1008852a
sub eax, 0x52
je 0x100885de
sub eax, 0x37
je 0x100885c5
sub eax, 0x76
jne case.0x100884e6.1
push 3
push 0x102311b4
push esi
call fcn.10196d30
add esp, 0xc
test eax, eax
jne 0x10088616
xor ecx, ecx
jmp case.0x100884e6.1
push 8
push 0x1023119c
push esi
call fcn.10196d30
add esp, 0xc
test eax, eax
jne 0x10088616
lea ecx, [eax + 1]
jmp case.0x100884e6.1
push 4
push str.RIFF
push esi
call fcn.10196d30
add esp, 0xc
test eax, eax
jne 0x10088616
push 4
lea eax, [esi + 8]
push str.WEBP
push eax
call fcn.10196d30
add esp, 0xc
mov ecx, 7
test eax, eax
mov edx, 5
cmove ecx, edx
jmp case.0x100884e6.1
mov ecx, 7
mov edx, ecx
lea ecx, [ebp - 0x40]
call fcn.10088990
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 0
jne 0x100886cf
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10088667
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008865d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008891c
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x100886ad
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100886a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008891c
push edx
push ecx
call fcn.1018a765
add esp, 8
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x48], 0
mov ecx, edi
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov eax, dword [edi]
push 1
call dword [eax]
jmp 0x100888ff
mov esi, dword [ebp - 0x6c]
mov eax, closesocket
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x10088921
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x100886ef
mov eax, dword [esi]
push 1
push 0x1022e5a0
push ecx
push eax
push ecx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x88]
call fcn.10058b10
mov dword [ebp - 0x68], 5
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.1004d740
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x68], 0xd
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x1008879a
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10088790
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10088926
push edx
push ecx
call fcn.1018a765
add esp, 8
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
je 0x100887f3
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push 0x1022de54
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
call fcn.10089750
add esp, 4
test eax, eax
jne 0x100887f3
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x100887eb
push eax
call fcn.10193392
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10087ab0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 0x10
jb 0x10088806
mov esi, dword [esi]
push eax
push esi
call fcn.1019fdb1
mov esi, dword [ebp - 0x64]
add esp, 8
test eax, eax
jne 0x10088831
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x10088831
cmp dword [ebp - 0x14], 0x10
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10047990
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10088865
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008885b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008891c
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x100888a7
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008889d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008891c
push edx
push ecx
call fcn.1018a765
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x100886b0
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100888e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008891c
push edx
push ecx
call fcn.1018a765
add esp, 8
jmp 0x100886b0
push edx
push ecx
call fcn.1018a765
add esp, 8
mov esi, dword [ebp - 0x64]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018a722
mov esp, ebp
pop ebp
ret
call fcn.1019291f
call fcn.10047570
call fcn.1019291f
nop
pop ecx
test dword [eax], ecx
adc byte [ebx - 0x7b], al
or byte [eax], dl
in eax, dx
test byte [eax], cl
adc byte [ebx], ah
test dword [eax], ecx
adc byte [ebx], bl
xchg byte [eax], cl
adc byte [eax], al
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 1
add al, 4
add al, 4
add al, byte [ebx + eax]
int3