Function at 0x1206d5f
Capabilities:
Allocate or change rwx memory
Encode data using xor
Hash data using murmur3

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x88], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x84], ebx
mov ebx, 0xfffffff
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x78], edi
mov edi, dword [eax + 4]
mov esi, dword [0x1116588]
sub eax, 4
mov dword [ebp - 0x64], eax
mov eax, dword [edi]
shr eax, 1
and eax, ebx
xor edx, edx
lea ecx, [esi + eax - 1]
mov eax, ecx
div esi
mov eax, dword [0x1116588]
sub ecx, edx
mov dword [ebp - 0x44], ecx
mov eax, dword [0x1011bb0]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x1116588]
mov eax, dword [0x1011bb0]
test eax, eax
je 0x1206e4f
and dword [ebp - 0x28], 0
mov eax, dword [0x1011bb0]
dec eax
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
mov edx, ecx
je 0x1206e07
mov esi, dword [0x12d47a4]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov dword [0x12d47a4], esi
shr esi, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, esi
test edx, edx
jne 0x1206de0
xor edx, edx
div ecx
cmp dword [ebp - 0x3c], 0
jbe 0x1206e49
inc dword [ebp - 0x28]
mov eax, 0xcb65
mov ecx, 0xffff349a
lea esi, [edx*4 + 0x12d4c14]
lock cmpxchg dword [esi], ecx
cmp eax, 0xcb65
je 0x1206fd1
lea eax, [edx + 1]
mov ecx, dword [0x1011bb0]
xor edx, edx
div ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x3c]
jb 0x1206e11
xor esi, esi
test esi, esi
jne 0x1206ec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
xor esi, esi
inc esi
push 0x40
push 0x1000
push dword [ebp - 0x44]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1206fe5
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x11
jb 0x1206e5a
xor esi, esi
cmp dword [0x12ef80c], esi
ja 0x1206e93
test esi, 3
je 0x1206ea7
test esi, esi
je 0x1206ea5
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x1206db1
mov eax, esi
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x1206ec8
mov byte [eax], 0
inc eax
dec ecx
jne 0x1206ec1
mov eax, 0x92addcb7
mov eax, dword [edi + 4]
and eax, 7
lea eax, [edi + eax + 8]
mov ecx, dword [edi]
shr ecx, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], eax
and ecx, ebx
lea edi, [eax + ecx]
mov ebx, 0x1000000
mov eax, dword [0x1116588]
sub eax, ecx
lea edx, [eax + 1]
sub dword [ebp - 0x30], ebx
xor eax, eax
mov dword [ebp - 0x3c], ecx
test edx, edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x28], edx
je 0x1206f34
mov edx, dword [0x12d47a4]
shr dword [ebp - 0x28], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x12d47a4], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0x28], 0
jne 0x1206f0a
xor edx, edx
div dword [ebp - 0x18]
lea eax, [edx + esi]
push eax
push ecx
push dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov eax, 0x112513c
lea eax, [ebp - 0x70]
mov esi, dword [edi]
mov edi, dword [edi + 4]
push eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0xd], 0
mov eax, 0xe77eeeb1
mov edx, dword [0x11e47bc]
mov eax, 0xfffffff
and esi, eax
and edi, eax
mov eax, ebx
xor ecx, ecx
add esp, 0x10
add esi, ebx
sub eax, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x38], eax
jne 0x1206fec
cmp edi, ecx
mov dword [ebp - 0x24], ecx
jbe 0x12071b7
mov ebx, 0x39bdea55
mov ecx, 0xc64215ab
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + esi]
sub eax, ebx
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
mul ecx
add eax, edx
mov ecx, eax
imul ecx, ecx, 0xe7fa
rol ecx, 0xb
ror eax, 0xb
xor ecx, eax
add dword [ebp - 0x20], ecx
inc dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x24], edi
jb 0x1206f96
jmp 0x12071b7
mov esi, dword [0x1116588]
imul esi, edx
lea esi, [esi + section..data]
jmp 0x1206e4b
mov esi, eax
jmp 0x1206e83
lea eax, [edi + esi]
mov ecx, esi
mov edx, dword [0x100003c]
mov dword [ebp - 0x24], eax
lea edx, [edx + 0x10000a0]
mov eax, dword [edx]
add eax, ebx
mov edx, dword [edx + 4]
sub ecx, ebx
mov ebx, ecx
mov dword [ebp - 0x18], edx
mov edx, ecx
add ecx, edi
mov edi, ecx
and edi, 0xfffff000
sub ecx, edi
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x18]
and edx, 0xfffff000
add ecx, eax
mov dword [ebp - 0x60], edi
sub ebx, edx
cmp eax, ecx
mov edi, eax
mov dword [ebp - 0x58], ecx
je 0x1207044
cmp dword [edi], edx
jae 0x1207044
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x58]
jne 0x1207038
and dword [ebp - 0x50], 0
cmp edi, dword [ebp - 0x58]
je 0x1207075
cmp dword [edi], edx
jne 0x1207075
mov eax, dword [edi + 4]
sub eax, 8
shr eax, 1
je 0x1207075
lea ecx, [edi + 8]
movzx edx, word [ecx]
and edx, 0xfff
cmp edx, ebx
jae 0x1207075
inc dword [ebp - 0x50]
inc ecx
inc ecx
cmp dword [ebp - 0x50], eax
jne 0x120705e
mov ebx, 0x39bdea55
mov ecx, dword [ebp - 0x60]
cmp edi, dword [ebp - 0x58]
je 0x120717a
cmp dword [edi], ecx
ja 0x120717a
mov eax, dword [edi + 4]
lea edx, [eax - 8]
shr edx, 1
cmp dword [ebp - 0x50], edx
jne 0x12070b4
add edi, eax
cmp edi, dword [ebp - 0x58]
je 0x120717a
cmp dword [edi], ecx
ja 0x120717a
and dword [ebp - 0x50], 0
jmp 0x120708e
cmp dword [edi], ecx
jne 0x12070ce
mov eax, dword [ebp - 0x50]
movzx eax, word [edi + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x5c]
jae 0x120717a
mov edx, 0xf000
mov eax, dword [ebp - 0x50]
inc dword [ebp - 0x50]
test word [edi + eax*2 + 8], dx
je 0x120707d
mov ecx, dword [edi]
movzx eax, word [edi + eax*2 + 8]
and eax, 0xfff
lea eax, [eax + ecx + 0x1000000]
mov dword [ebp - 0x2c], eax
xor ecx, ecx
sub dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], eax
je 0x1207133
movzx eax, byte [ecx + esi]
mov edx, 0xc64215ab
sub eax, ebx
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
mul edx
add eax, edx
mov edx, eax
imul edx, edx, 0xe7fa
rol edx, 0xb
ror eax, 0xb
xor edx, eax
mov eax, edx
add dword [ebp - 0x20], eax
inc ecx
mov dword [ebp - 0x1c], edx
cmp ecx, dword [ebp - 0x2c]
jb 0x1207100
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
sub eax, dword [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x68], eax
movzx eax, byte [ebp + ecx - 0x68]
sub eax, ebx
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
mov edx, 0xc64215ab
mul edx
add eax, edx
mov edx, eax
imul edx, edx, 0xe7fa
rol edx, 0xb
ror eax, 0xb
xor edx, eax
add dword [ebp - 0x20], edx
inc ecx
cmp ecx, 4
mov dword [ebp - 0x1c], edx
jb 0x1207140
add esi, 4
jmp 0x120707a
mov eax, dword [ebp - 0x24]
xor edi, edi
sub eax, esi
mov dword [ebp - 0x18], eax
je 0x12071b7
movzx eax, byte [esi + edi]
sub eax, ebx
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
mov ecx, 0xc64215ab
mul ecx
add eax, edx
mov ecx, eax
imul ecx, ecx, 0xe7fa
rol ecx, 0xb
ror eax, 0xb
xor ecx, eax
add dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
inc edi
cmp edi, dword [ebp - 0x18]
jb 0x1207186
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x20]
mov byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jb 0x12071b9
mov eax, 0x26e219f1
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
and eax, 7
mov dword [ebp - 0x2c], eax
je 0x120739e
xor ecx, ecx
mov edi, dword [ebp - 0x30]
not edi
mov dword [ebp - 0x24], ecx
cmp eax, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x14], ecx
jle 0x1207226
push 0x38
pop edx
cmp dword [ebp - 0x14], 4
movzx ebx, byte [esi]
jge 0x1207213
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x40], ebx
jmp 0x120721a
mov ecx, edx
shl ebx, cl
or dword [ebp - 0x24], ebx
inc esi
inc dword [ebp - 0x14]
sub edx, 8
cmp dword [ebp - 0x14], eax
jl 0x1207200
mov edx, dword [ebp - 0x30]
movzx ecx, word [ebp - 6]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xc]
rol eax, 0xf
imul ecx, eax
ror edx, 0xe
movzx eax, word [ebp - 8]
xor edx, ecx
xor edi, edx
mov edx, edi
mov ecx, edi
sub ecx, dword [ebp - 0xc]
rol ecx, 4
imul eax, ecx
rol edx, 0xb
mov ecx, dword [ebp - 8]
sub eax, edx
xor eax, dword [ebp - 0x30]
mov ebx, eax
movzx edx, word [ebp - 0xa]
xor ecx, eax
ror ecx, 8
imul edx, ecx
movzx ecx, word [ebp - 6]
rol ebx, 4
xor ebx, edx
movzx edx, word [ebp - 0xc]
xor edi, ebx
mov dword [ebp - 0x18], edx
mov ebx, edi
xor ecx, edi
imul ecx, edx
ror ebx, 8
add ebx, ecx
movzx ecx, word [ebp - 6]
xor eax, ebx
mov edx, eax
sub edx, ecx
mov ecx, dword [ebp - 0xc]
xor edx, ecx
xor edi, edx
movzx edx, word [ebp - 8]
xor ecx, edi
rol ecx, 4
imul edx, ecx
mov ecx, edi
shr ecx, 7
sub edx, ecx
mov ecx, dword [ebp - 8]
xor eax, edx
movzx edx, word [ebp - 0xa]
mov ebx, eax
sub ecx, eax
ror ecx, 7
imul edx, ecx
rol ebx, 7
movzx ecx, word [ebp - 8]
add ebx, edx
xor edi, ebx
mov ebx, ecx
mov ecx, dword [ebp - 0x18]
mov edx, edi
xor ebx, edi
imul ebx, ecx
ror edx, 1
sub ebx, edx
xor eax, ebx
movzx edx, word [ebp - 0xa]
xor edx, eax
rol edx, 6
movzx ebx, word [ebp - 6]
mov dword [ebp - 0x14], ebx
imul ebx, edx
mov edx, eax
shr edx, 6
add ebx, edx
movzx edx, word [ebp - 8]
xor edi, ebx
mov ebx, edi
not ebx
ror ebx, 0xc
add ebx, edx
imul ebx, dword [ebp - 0x14]
xor eax, ebx
mov ebx, eax
movzx edx, word [ebp - 0xa]
sub ebx, edx
mov edx, dword [ebp - 8]
sub ebx, edx
xor edi, ebx
mov ebx, edi
and dword [ebp - 0x14], 0
xor edx, edi
rol edx, 0xd
imul ecx, edx
xor edi, dword [ebp - 0x24]
ror ebx, 0xb
add ebx, ecx
xor ebx, dword [ebp - 0x40]
mov ecx, edi
xor eax, ebx
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
mov dword [ebp - 0x48], eax
jle 0x1207374
cmp dword [ebp - 0x14], 4
jge 0x120735b
rol dword [ebp - 0x48], 8
mov ebx, dword [ebp - 0x34]
mov dl, byte [ebp - 0x48]
inc dword [ebp - 0x34]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x1207369
mov edx, dword [ebp - 0x34]
inc dword [ebp - 0x34]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], ebx
jl 0x1207341
add ebx, 0xfffffffc
test ebx, ebx
jle 0x120738b
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
jmp 0x12073ad
xor edx, edx
test ebx, ebx
jge 0x12073ad
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x12073ad
xor edx, edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
not eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
shr ecx, 3
test ecx, ecx
jbe 0x1207571
movzx edi, word [ebp - 6]
mov dword [ebp - 0x14], edi
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], ecx
movzx ebx, byte [esi + 5]
movzx ecx, byte [esi]
shl ecx, 8
movzx edi, byte [esi + 1]
or ecx, edi
shl ecx, 8
movzx edi, byte [esi + 2]
or ecx, edi
shl ecx, 8
movzx edi, byte [esi + 3]
or ecx, edi
movzx edi, byte [esi + 4]
shl edi, 8
or edi, ebx
shl edi, 8
movzx ebx, byte [esi + 6]
or edi, ebx
movzx ebx, byte [esi + 7]
xor eax, ecx
shl edi, 8
or edi, ebx
add esi, 8
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x48], ecx
mov ecx, eax
mov dword [ebp - 0x38], edi
sub ecx, dword [ebp - 0xc]
rol ecx, 0xf
mov edi, eax
imul ebx, ecx
ror edi, 0xe
xor edi, ebx
xor edi, dword [ebp - 0x38]
xor edx, edi
mov ebx, edx
movzx edi, word [ebp - 8]
mov ecx, edx
sub ecx, dword [ebp - 0xc]
rol ecx, 4
imul edi, ecx
rol ebx, 0xb
mov ecx, dword [ebp - 8]
sub edi, ebx
xor eax, edi
mov ebx, dword [ebp - 0x2c]
mov edi, eax
xor ecx, eax
ror ecx, 8
imul ebx, ecx
movzx ecx, word [ebp - 0xc]
rol edi, 4
xor edi, ebx
xor edx, edi
mov edi, edx
mov ebx, dword [ebp - 0x14]
xor ebx, edx
imul ebx, ecx
mov ecx, dword [ebp - 0xc]
ror edi, 8
add edi, ebx
mov ebx, dword [ebp - 0x2c]
xor eax, edi
mov edi, eax
sub edi, dword [ebp - 0x14]
xor edi, ecx
xor edx, edi
xor ecx, edx
movzx edi, word [ebp - 8]
rol ecx, 4
imul edi, ecx
mov ecx, edx
shr ecx, 7
sub edi, ecx
mov ecx, dword [ebp - 8]
xor eax, edi
mov edi, eax
sub ecx, eax
ror ecx, 7
imul ebx, ecx
movzx ecx, word [ebp - 8]
rol edi, 7
add edi, ebx
xor edx, edi
xor ecx, edx
movzx edi, word [ebp - 0xc]
imul ecx, edi
mov ebx, edx
ror ebx, 1
sub ecx, ebx
xor eax, ecx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
xor ecx, eax
rol ecx, 6
imul ebx, ecx
mov ecx, eax
shr ecx, 6
add ebx, ecx
xor edx, ebx
movzx ecx, word [ebp - 8]
mov ebx, edx
not ebx
ror ebx, 0xc
add ebx, ecx
mov ecx, dword [ebp - 8]
imul ebx, dword [ebp - 0x14]
xor eax, ebx
mov ebx, eax
sub ebx, dword [ebp - 0x2c]
sub ebx, ecx
xor edx, ebx
xor ecx, edx
mov ebx, edx
rol ecx, 0xd
imul edi, ecx
mov cl, byte [ebp - 0xd]
xor edx, dword [ebp - 0x24]
ror ebx, 0xb
add ebx, edi
mov edi, dword [ebp - 0x34]
xor ebx, dword [ebp - 0x40]
xor eax, ebx
mov byte [edi + 3], al
xor cl, al
xor cl, dl
mov byte [edi + 7], dl
ror eax, 8
mov byte [edi + 2], al
xor cl, al
ror edx, 8
mov byte [edi + 6], dl
xor cl, dl
ror eax, 8
xor cl, al
mov byte [edi + 1], al
ror edx, 8
xor cl, dl
ror eax, 8
mov byte [edi + 5], dl
ror edx, 8
mov bl, dl
xor bl, al
xor cl, bl
mov byte [ebp - 0xd], cl
mov ecx, dword [ebp - 0x48]
mov byte [edi], al
mov byte [edi + 4], dl
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x38]
add edi, 8
dec dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
ror eax, 8
ror edx, 8
mov dword [ebp - 0x34], edi
jne 0x12073cc
mov eax, dword [ebp - 0x4c]
movzx ecx, byte [ebp - 0xd]
movzx eax, byte [eax + 8]
sub ecx, eax
je 0x1207609
call fcn.01244f80
mov edi, eax
mov edx, 0xfffff000
mov eax, dword [ebp - 0x64]
lea ecx, [eax + 0xc]
mov dword [eax + 8], 0x10d8814
and ecx, 0xfffffffc
lea esi, [ecx + 0xfff]
and edi, edx
and esi, edx
mov edx, 0xffff
xor eax, eax
mov ebx, dword [0x12d47a4]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x12d47a4], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x12075b1
mov ebx, 0xffff
div ebx
mov eax, ecx
inc edx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x74], edx
cmp ecx, esi
mov dword [ebp - 0x4c], 0
jae 0x12075ff
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
add eax, 4
cmp eax, esi
jb 0x12075f3
mov eax, 0x10d8814
jmp 0x12076da
mov edx, dword [0x11e47bc]
mov ecx, 0x1000000
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
sub ecx, edx
mov dword [ebp - 0x18], ecx
jne 0x120762c
test eax, eax
je 0x12076cd
mov esi, dword [ebp - 0x28]
mov ecx, dword [0x11efd70]
sub esi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
add eax, ebx
xor edi, edi
mov dword [ebp - 0x4c], eax
dec ecx
js 0x120766f
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x11efd74]
and edx, 0xfffffff
cmp ebx, edx
jae 0x1207666
lea ecx, [eax - 1]
jmp 0x120766b
jbe 0x1207673
lea edi, [eax + 1]
cmp ecx, edi
jge 0x1207648
mov ebx, edi
jmp 0x12076c5
mov ebx, eax
jmp 0x12076c5
mov eax, dword [ebx*4 + 0x11efd74]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x4c]
jae 0x12076cd
lea edi, [ecx + esi + 0x1000000]
mov ecx, eax
shl ecx, 2
sar ecx, 0x1e
sar eax, 0x1e
and ecx, 3
and eax, 3
xor edx, edx
dec ecx
je 0x12076b8
dec ecx
je 0x12076b3
dec ecx
jne 0x12076be
mov edx, dword [ebp - 0x18]
jmp 0x12076be
mov edx, dword [ebp - 0x38]
jmp 0x12076be
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x38]
dec eax
dec eax
jne 0x12076c4
add dword [edi], edx
inc ebx
cmp ebx, dword [0x11efd70]
jb 0x1207677
mov eax, dword [0x1116588]
mov eax, 0xe9fe96e
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
mov esp, ebp
pop ebp
popfd
ret