Function at 0x1000ef40
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100870ae
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x100c4014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov ecx, 0x100c75db
mov dword [ebp - 0x48], esi
call fcn.10085165
cmp dword [esi + 0x10], 0
je 0x1000f2ff
mov edi, dword [ebx + 0x14]
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x1000f2ff
mov eax, dword [ebx + 0xc]
or eax, dword [ebx + 0x10]
je 0x1000f2ff
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
push 0x30
mov ecx, eax
call fcn.1000fff0
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x1000f080
test esi, esi
je 0x1000f2ab
cmp dword [esi], 0
jne 0x1000f01b
cmp dword [esi + 4], 0
jne 0x1000f01b
cmp dword [esi + 8], 0
jne 0x1000f01b
cmp dword [esi + 0xc], 0
je 0x1000f2ab
movzx eax, word [esi + 0x10]
test ax, ax
je 0x1000f037
cmp eax, 1
je 0x1000f037
cmp eax, 2
je 0x1000f037
cmp eax, 3
jne 0x1000f2ab
cmp dword [esi + 0x12], 0
je 0x1000f2ab
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
sub edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push eax
lea eax, [edi + 0x16]
push eax
call fcn.1000fff0
mov ecx, dword [ebp - 0x24]
movups xmm0, xmmword [esi]
movups xmmword [ecx + edi], xmm0
mov eax, dword [esi + 0x10]
mov dword [ecx + edi + 0x10], eax
mov ax, word [esi + 0x14]
add esi, 0x16
mov word [ecx + edi + 0x14], ax
mov edi, dword [ebx + 0x14]
cmp esi, dword [edi + 4]
jne 0x1000eff8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
sub eax, ecx
mov dword [ebp - 0x18], 0
add eax, 0xffffffd0
push eax
lea eax, [ecx + 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.1001f930
mov ecx, dword [edi + 4]
mov eax, 0x2e8ba2e9
sub ecx, dword [edi]
xorps xmm0, xmm0
imul ecx
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x78], 0x61686864
sar edx, 2
mov ecx, edx
mov dword [ebp - 0x74], 2
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x64], 0x16
imul eax, ecx, 0x16
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x6c], eax
add eax, 0x30
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0xc]
movups xmm0, xmmword [ebp - 0x78]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x24]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [eax + 0x20], xmm0
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 5
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x3c]
call fcn.1003fa50
test al, al
je 0x1000f2d3
push str.2345AvScanAntiVHit
lea ecx, [ebp - 0x90]
call fcn.1000d650
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x90]
push eax
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x60]
call fcn.1003f800
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x3c]
cmp eax, esi
je 0x1000f1b7
mov ecx, eax
call fcn.10005a50
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x3c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x60]
call fcn.10005a50
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x90]
call fcn.10005a50
mov byte [ebp - 4], 6
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.1003d350
test al, al
je 0x1000f2d3
push dword [ebp - 0x48]
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x60]
call fcn.1003f800
add esp, 4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x3c]
push eax
call fcn.1000d5d0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x60]
call fcn.10005a50
mov byte [ebp - 4], 6
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.100423a0
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x3c]
push ecx
push 1
push ecx
push 0x40000000
push eax
lea ecx, [ebp - 0x18]
call fcn.10042510
test al, al
je 0x1000f2c1
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub esi, ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], 0
test eax, eax
je 0x1000f2b1
test ecx, ecx
je 0x1000f2b1
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x1000f2b1
push 0
lea edx, [ebp - 0x40]
push edx
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000f2b1
mov ecx, dword [ebp - 0x40]
cmp esi, ecx
jne 0x1000f2b1
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cmp ecx, eax
jne 0x1000f2b1
lea ecx, [ebp - 0x18]
call fcn.100426c0
mov byte [ebp - 0x41], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.10042420
jmp 0x1000f2d7
mov byte [ebp - 0x41], 0
jmp 0x1000f2eb
lea ecx, [ebp - 0x18]
call fcn.100426c0
lea ecx, [ebp - 0x3c]
call fcn.1004bd20
mov byte [ebp - 0x41], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.10042420
jmp 0x1000f2d7
mov byte [ebp - 0x41], 0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x3c]
call fcn.10005a50
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.1000fc20
mov al, byte [ebp - 0x41]
jmp 0x1000f301
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100826ce
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10