Function at 0x10006c70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2356
mov eax, dword fs:[0]
push eax
mov eax, 0x1050
call fcn.100ca280
mov eax, dword [0x10131fa8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x604], 0
mov eax, dword [ebp + 0xa08]
mov dword [ebp - 0x1030], eax
jne 0x10006f8a
mov eax, dword [ebp + 0x188]
and eax, 0x2000
or eax, 0
jne 0x10006f8a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x1040], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10006f73
cmp esi, 0xffffffff
je 0x10006f73
push 0x1c
lea eax, [ebp - 0x105c]
mov dword [ebp - 0x1044], 0
push eax
push dword [ebp + 8]
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x105c], xmm0
movq qword [ebp - 0x104c], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x10006f73
mov eax, dword [ebp - 0x1058]
mov ecx, 0x10138b60
mov dword [ebp - 0x1028], eax
lea eax, [ebp - 0x103c]
push eax
call fcn.100060a0
mov edi, dword [eax + 8]
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1024]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.100090d0
mov eax, dword [edi + 4]
cmp dword [ebp - 0x1024], eax
je 0x10006dad
lea eax, [ebp - 0x1028]
mov ecx, edi
push eax
lea eax, [ebp - 0x1024]
push eax
call fcn.100090d0
mov eax, dword [ebp - 0x1024]
cmp eax, dword [edi + 4]
je 0x10007010
lea edi, [eax + 0xc]
mov byte [ebp - 4], 2
jmp 0x10006e5d
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1028]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10006e2d
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.100cb4d8
add eax, 2
add esp, 8
mov dword [ebp - 0x1024], eax
mov ecx, edi
lea eax, [ebp - 0x1028]
push eax
call fcn.10005d70
mov dword [ebp - 0x102c], eax
mov eax, dword [ebp - 0x1024]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x1024], ecx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10006e10
sub edx, dword [ebp - 0x1024]
mov ecx, dword [ebp - 0x102c]
sar edx, 1
push edx
push eax
jmp 0x10006e44
lea eax, [ebp - 0x1028]
mov ecx, edi
push eax
call fcn.10005d70
push 0
push 0x100fee0c
mov ecx, eax
call fcn.10008530
lea eax, [ebp - 0x1028]
mov ecx, edi
push eax
call fcn.10005d70
mov edi, eax
mov byte [ebp - 4], 3
cmp byte [ebp - 0x1038], 0
je 0x10006e81
push dword [ebp - 0x103c]
call fcn.1009def5
add esp, 4
test eax, eax
je 0x10006e81
push eax
call fcn.1009e0f0
add esp, 4
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov byte [ebp - 4], 0
mov dword [ebp - 0x1024], eax
jb 0x10006eaa
mov edi, dword [edi]
cmp eax, 8
jae 0x10006eca
movups xmm0, xmmword [edi]
mov dword [ebp - 0x21c], 7
mov ecx, 7
movups xmmword [ebp - 0x230], xmm0
jmp 0x10006f1a
or eax, 7
mov ecx, bind
cmp eax, ecx
cmova eax, ecx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x102c], eax
inc eax
push eax
call fcn.10008250
mov ecx, dword [ebp - 0x1024]
mov dword [ebp - 0x230], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.100cc520
mov ecx, dword [ebp - 0x102c]
add esp, 0xc
mov eax, dword [ebp - 0x1024]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], eax
test eax, eax
je 0x10006f68
mov eax, dword [ebp + 0x18c]
or dword [ebp + 0x188], 0x2000
mov dword [ebp + 0x18c], eax
mov eax, dword [ebp - 0x1058]
cdq
sub dword [ebp + 8], eax
lea eax, [ebp - 0x230]
push 0x77
sbb dword [ebp + 0xc], edx
cmp ecx, 8
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp + 0x20]
push 0x78
push eax
call fcn.100d57e6
add esp, 0x10
lea ecx, [ebp - 0x230]
call fcn.10005a50
mov dword [ebp - 4], 4
test esi, esi
je 0x10006f8a
cmp esi, 0xffffffff
je 0x10006f8a
push esi
call dword [0x100ffc5c]
push 0x3e8
lea eax, [ebp - 0x618]
mov dword [ebp - 0x1020], 2
mov ecx, 0x280
lea esi, [ebp + 8]
lea edi, [ebp - 0x1018]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100cd020
push 0x1f3
push dword [ebp - 0x1030]
lea eax, [ebp - 0x618]
push 0x1f4
push eax
call fcn.100d57e6
add esp, 0x1c
lea eax, [ebp - 0x1020]
push 0
push 0x10138bb8
push 0xdf0
push eax
push dword [0x101312c8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
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.100ca30d
mov esp, ebp
pop ebp
ret
push str.invalid_unordered_map_K__T__key
call fcn.1009da77
int3