Function at 0x10005e50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebf66
mov eax, dword fs:[0]
push eax
mov eax, 0x1058
call fcn.100c3e70
mov eax, dword [0x10129fe8]
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 + 0x60c], 0
mov eax, dword [ebp + 0xa10]
mov dword [ebp - 0x1038], eax
jne 0x10006166
mov eax, dword [ebp + 0x188]
and eax, 0x2000
or eax, 0
jne 0x10006166
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 - 0x1048], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x1000614f
cmp esi, 0xffffffff
je 0x1000614f
push 0x1c
lea eax, [ebp - 0x1064]
mov dword [ebp - 0x104c], 0
push eax
push dword [ebp + 8]
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x1064], xmm0
movq qword [ebp - 0x1054], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x1000614f
mov eax, dword [ebp - 0x1060]
mov ecx, 0x10130850
mov dword [ebp - 0x1030], eax
lea eax, [ebp - 0x1044]
push eax
call fcn.100053d0
mov edi, dword [eax + 8]
lea eax, [ebp - 0x1030]
push eax
lea eax, [ebp - 0x102c]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.10008100
mov eax, dword [edi + 4]
cmp dword [ebp - 0x102c], eax
je 0x10005f8d
lea eax, [ebp - 0x1030]
mov ecx, edi
push eax
lea eax, [ebp - 0x102c]
push eax
call fcn.10008100
mov eax, dword [ebp - 0x102c]
cmp eax, dword [edi + 4]
je 0x100061ec
lea edi, [eax + 0xc]
mov byte [ebp - 4], 2
jmp 0x1000603d
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x1030]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1000600d
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.100c50c8
add eax, 2
add esp, 8
mov dword [ebp - 0x102c], eax
mov ecx, edi
lea eax, [ebp - 0x1030]
push eax
call fcn.10005160
mov dword [ebp - 0x1034], eax
mov eax, dword [ebp - 0x102c]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x102c], ecx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10005ff0
sub edx, dword [ebp - 0x102c]
mov ecx, dword [ebp - 0x1034]
sar edx, 1
push edx
push eax
jmp 0x10006024
lea eax, [ebp - 0x1030]
mov ecx, edi
push eax
call fcn.10005160
push 0
push 0x100f7dac
mov ecx, eax
call fcn.10007670
lea eax, [ebp - 0x1030]
mov ecx, edi
push eax
call fcn.10005160
mov edi, eax
mov byte [ebp - 4], 3
cmp byte [ebp - 0x1040], 0
je 0x10006061
push dword [ebp - 0x1044]
call fcn.10097ae5
add esp, 4
test eax, eax
je 0x10006061
push eax
call fcn.10097ce0
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 - 0x102c], eax
jb 0x1000608a
mov edi, dword [edi]
cmp eax, 8
jae 0x100060aa
movups xmm0, xmmword [edi]
mov dword [ebp - 0x21c], 7
mov ecx, 7
movups xmmword [ebp - 0x230], xmm0
jmp 0x100060fa
or eax, 7
mov ecx, 0x7ffffffe
cmp eax, ecx
cmova eax, ecx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x1034], eax
inc eax
push eax
call fcn.10007390
mov ecx, dword [ebp - 0x102c]
mov dword [ebp - 0x230], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.100c6110
mov ecx, dword [ebp - 0x1034]
add esp, 0xc
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], eax
test eax, eax
je 0x10006144
mov eax, dword [ebp + 0x18c]
or dword [ebp + 0x188], 0x2000
mov dword [ebp + 0x18c], eax
mov eax, dword [ebp - 0x1060]
sub dword [ebp + 8], eax
lea eax, [ebp - 0x230]
cmp ecx, 8
push 0x77
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp + 0x20]
push 0x78
push eax
call fcn.100cf3e6
add esp, 0x10
lea ecx, [ebp - 0x230]
call fcn.10004dd0
mov dword [ebp - 4], 4
test esi, esi
je 0x10006166
cmp esi, 0xffffffff
je 0x10006166
push esi
call dword [0x100f8bfc]
push 0x3e8
lea eax, [ebp - 0x618]
mov dword [ebp - 0x1028], 2
mov ecx, 0x282
lea esi, [ebp + 8]
lea edi, [ebp - 0x1020]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100c6c10
push 0x1f3
push dword [ebp - 0x1038]
lea eax, [ebp - 0x618]
push 0x1f4
push eax
call fcn.100cf3e6
add esp, 0x1c
lea eax, [ebp - 0x1028]
push 0
push 0x101308a8
push 0xdf8
push eax
push dword [0x101292c8]
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.100c3efd
mov esp, ebp
pop ebp
ret
push str.invalid_unordered_map_K__T__key
call fcn.10097667
int3