Function at 0x100115b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d555
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x10088014]
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 edx, ecx
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x40], ebx
xor esi, esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], esi
test ecx, ecx
je 0x10011bef
xor eax, eax
mov edi, ecx
mov dword [ebp - 0x14], 0
sub edi, eax
cmp edi, dword [edx]
cmova edi, dword [edx]
mov dword [ebp - 0x6c], edi
call fcn.10027ed0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x100116e9
movaps xmm0, xmmword [0x10080380]
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x2c], 0xfba0fdfb
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x28], 0x80fd
mov byte [ebp - 0x26], 0
call fcn.1001c2e0
or ebx, 0x200
mov dword [ebp - 4], 0
lea eax, [ebp - 0x84]
or ebx, 1
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x70], 0x10
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x40], ebx
cmovae eax, dword [ebp - 0x84]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1001c550
add esp, 0xc
mov dword [ebp - 4], 1
or ebx, 2
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x40], ebx
jb 0x100116a6
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.10024780
or ebx, 0x800
mov dword [ebp - 4], 2
lea esi, [ebp - 0x68]
or ebx, 4
cmp dword [ebp - 0x54], 8
mov dword [ebp - 0x40], ebx
cmovae esi, dword [ebp - 0x68]
call fcn.10027ed0
push esi
push 0
push str._antimalware_provider__::_bd::PipeClient::WriteBytes____
push 0
push eax
call fcn.100254b0
mov esi, dword [ebp - 0x44]
add esp, 0x14
mov dword [ebp - 4], 1
test bl, 4
je 0x10011746
mov edx, dword [ebp - 0x54]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x10011732
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011728
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c0f
push edx
push ecx
call fcn.10045702
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov dword [ebp - 4], 0
test bl, 2
je 0x100117aa
mov edx, dword [ebp - 0xb8]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x1001178f
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011785
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c0f
push edx
push ecx
call fcn.10045702
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x100117f0
mov edx, dword [ebp - 0x70]
and ebx, 0xfffffffe
cmp edx, 0x10
jb 0x100117f0
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100117e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c0f
push edx
push ecx
call fcn.10045702
add esp, 8
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x4c]
push edi
add eax, esi
push eax
mov eax, dword [ebp - 0x50]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10011a4e
call fcn.10027ed0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x100118f7
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0xf4e9f2d7
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x20], 0xe1e4a0e5
mov dword [ebp - 0x1c], 0xfba0e1f4
mov word [ebp - 0x18], 0x80fd
mov byte [ebp - 0x16], 0
call fcn.1001c2e0
or ebx, 0x8000
mov dword [ebp - 4], 6
lea eax, [ebp - 0xb4]
or ebx, 0x40
lea edx, [ebp - 0x48]
cmp dword [ebp - 0xa0], 0x10
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x40], ebx
cmovae eax, dword [ebp - 0xb4]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001c6c0
add esp, 4
mov dword [ebp - 4], 7
or ebx, 0x80
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x40], ebx
jb 0x100118a5
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x9c]
call fcn.10024780
or ebx, 0x20000
mov dword [ebp - 4], 8
lea esi, [ebp - 0x9c]
or ebx, 0x100
cmp dword [ebp - 0x88], 8
mov dword [ebp - 0x40], ebx
cmovae esi, dword [ebp - 0x9c]
call fcn.10027ed0
push esi
push 0
push str._antimalware_provider__::_bd::PipeClient::WriteBytes____
push 0
push eax
call fcn.100254b0
mov esi, dword [ebp - 0x44]
add esp, 0x14
mov dword [ebp - 4], 7
test ebx, 0x100
je 0x10011969
mov edx, dword [ebp - 0x88]
and ebx, 0xfffffeff
cmp edx, 8
jb 0x1001194c
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011942
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c0f
push edx
push ecx
call fcn.10045702
add esp, 8
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
mov dword [ebp - 4], 6
test bl, bl
jns 0x100119cf
mov edx, dword [ebp - 0xd0]
and ebx, 0xffffff7f
cmp edx, 0x10
jb 0x100119b4
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100119aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c0f
push edx
push ecx
call fcn.10045702
add esp, 8
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
mov dword [ebp - 4], 0xffffffff
test bl, 0x40
je 0x10011a33
mov edx, dword [ebp - 0xa0]
and ebx, 0xffffffbf
cmp edx, 0x10
jb 0x10011a18
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10011a0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c0f
push edx
push ecx
call fcn.10045702
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
add esi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, esi
mov dword [ebp - 0x44], esi
cmp esi, ecx
jae 0x10011bef
mov edx, dword [ebp - 0x50]
jmp 0x10011600
call fcn.10027ed0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x10011af8
lea eax, [ebp - 0xcc]
push eax
call fcn.10011c20
mov dword [ebp - 4], 3
or ebx, 8
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x40], ebx
jb 0x10011a7f
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0x48]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x84]
call fcn.1001c600
add esp, 0x10
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x68]
or ebx, 0x10
push eax
mov dword [ebp - 0x40], ebx
call fcn.10026cb0
or ebx, 0x4000
mov dword [ebp - 4], 5
lea esi, [ebp - 0x68]
or ebx, 0x20
cmp dword [ebp - 0x54], 8
mov dword [ebp - 0x40], ebx
cmovae esi, dword [ebp - 0x68]
call fcn.10027ed0
push esi
push 0
push str._antimalware_provider__::_bd::PipeClient::WriteBytes____
push 0
push eax
call fcn.100254b0
add esp, 0x14
test bl, 0x20
je 0x10011b4e
mov edx, dword [ebp - 0x54]
and ebx, 0xffffffdf
cmp edx, 8
jb 0x10011b3a
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011b30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c0f
push edx
push ecx
call fcn.10045702
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
test bl, 0x10
je 0x10011baa
mov edx, dword [ebp - 0x70]
and ebx, 0xffffffef
cmp edx, 8
jb 0x10011b93
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011b89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c0f
push edx
push ecx
call fcn.10045702
add esp, 8
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
test bl, 8
je 0x10011beb
mov edx, dword [ebp - 0xb8]
cmp edx, 8
jb 0x10011beb
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011be1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011c0f
push edx
push ecx
call fcn.10045702
add esp, 8
xor al, al
jmp 0x10011bf1
mov al, 1
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.100456c4
mov esp, ebp
pop ebp
ret 8
call fcn.100503fe
int3