Function at 0x11eaa3c
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x84], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], esi
mov ebx, 0xfffffff
mov dword [ebp - 0x88], edi
mov edi, dword [eax + 4]
sub eax, 4
mov esi, dword [0x109dc84]
mov dword [ebp - 0x50], eax
mov eax, dword [edi]
and eax, ebx
lea ecx, [esi + eax - 1]
xor edx, edx
mov eax, ecx
div esi
sub ecx, edx
mov eax, dword [0x109dc84]
mov dword [ebp - 0x48], ecx
mov eax, dword [0x129bea8]
mov dword [ebp - 0x44], eax
mov eax, dword [0x109dc84]
mov eax, dword [0x129bea8]
test eax, eax
je 0x11eab2b
and dword [ebp - 0x28], 0
mov eax, dword [0x129bea8]
dec eax
lea ecx, [eax + 1]
mov edx, ecx
xor eax, eax
test ecx, ecx
je 0x11eaae0
mov esi, dword [0x1427a7c]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov dword [0x1427a7c], esi
shr esi, 0x10
shl eax, 0x10
or eax, esi
shr edx, 0x10
jne 0x11eaabb
xor edx, edx
div ecx
cmp dword [ebp - 0x44], 0
jbe 0x11eab22
mov eax, 0x3bd7
mov ecx, 0xffffc428
lea esi, [edx*4 + 0x1427d38]
inc dword [ebp - 0x28]
lock cmpxchg dword [esi], ecx
cmp eax, 0x3bd7
je 0x11eacae
mov ecx, dword [0x129bea8]
lea eax, [edx + 1]
xor edx, edx
div ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
jb 0x11eaaea
xor eax, eax
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x11eaba8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
xor esi, esi
inc esi
push 0x40
push 0x1000
push dword [ebp - 0x48]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x11eacc1
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x11
jb 0x11eab36
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp dword [0x144656c], esi
ja 0x11eab72
test esi, 3
je 0x11eab89
test esi, esi
je 0x11eab84
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x11eaa8c
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x11eaba8
mov byte [esi], 0
inc esi
dec eax
jne 0x11eaba1
mov eax, 0x699d84ef
mov eax, dword [edi]
mov ecx, eax
and eax, ebx
mov esi, eax
mov eax, dword [0x109dc84]
shr ecx, 0x1d
lea ecx, [ecx + edi + 8]
mov ebx, 0x1000000
lea edi, [esi + ecx]
mov dword [ebp - 0x3c], ecx
sub eax, esi
mov dword [ebp - 0x48], ecx
sub dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], edi
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x28], ecx
je 0x11eac0c
mov edx, dword [0x1427a7c]
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x1427a7c], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
shr dword [ebp - 0x28], 0x10
jne 0x11eabe6
xor edx, edx
div ecx
mov eax, dword [ebp - 0x1c]
add eax, edx
push eax
push esi
push dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, 0x1dfc563b
mov esi, dword [edi]
mov edi, dword [edi + 4]
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0xd], 0
mov eax, 0x40b4d196
mov eax, 0xfffffff
mov edx, dword [0x13ca1e8]
and esi, eax
and edi, eax
mov eax, ebx
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 0x24], ecx
add esi, ebx
sub eax, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], eax
jne 0x11eaccb
mov dword [ebp - 0x14], ecx
cmp edi, ecx
jbe 0x11eaea2
mov ecx, 0x1c8c8ff2
mov ebx, 0xe373700e
mov edx, ebx
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + esi]
sub eax, ecx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xe373700e
ror eax, 0x11
imul eax, eax, 0xe373700e
ror eax, 0x11
add dword [ebp - 0x24], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
jb 0x11eac74
jmp 0x11eaea2
mov eax, dword [0x109dc84]
imul eax, edx
lea eax, [eax + section..data]
jmp 0x11eab24
mov esi, eax
mov dword [ebp - 0x1c], eax
jmp 0x11eab62
mov edx, dword [0x100003c]
lea edx, [edx + 0x10000a0]
mov ebx, 0x1000000
lea eax, [edi + esi]
mov ecx, esi
mov dword [ebp - 0x38], eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
add eax, ebx
mov dword [ebp - 0x2c], edx
sub ecx, ebx
mov ebx, ecx
mov edx, ecx
add ecx, edi
mov edi, ecx
and edi, 0xfffff000
sub ecx, edi
and edx, 0xfffff000
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x2c]
add ecx, eax
sub ebx, edx
cmp eax, ecx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], ecx
mov edi, eax
je 0x11ead28
cmp dword [edi], edx
jae 0x11ead28
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x5c]
jne 0x11ead1c
xor eax, eax
cmp edi, dword [ebp - 0x5c]
je 0x11ead51
cmp dword [edi], edx
jne 0x11ead51
mov ecx, dword [edi + 4]
sub ecx, 8
shr ecx, 1
je 0x11ead51
movzx edx, word [edi + eax*2 + 8]
and edx, 0xfff
cmp edx, ebx
jae 0x11ead51
inc eax
cmp eax, ecx
jne 0x11ead3d
mov ebx, 0xe373700e
mov ecx, 0x1c8c8ff2
cmp edi, dword [ebp - 0x5c]
je 0x11eae66
mov edx, dword [edi]
cmp edx, dword [ebp - 0x64]
ja 0x11eae66
mov edx, dword [edi + 4]
add edx, 0xfffffff8
shr edx, 1
cmp eax, edx
jne 0x11ead96
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x5c]
je 0x11eae66
mov eax, dword [ebp - 0x64]
cmp dword [edi], eax
ja 0x11eae66
xor eax, eax
jmp 0x11ead6f
mov edx, dword [edi]
cmp edx, dword [ebp - 0x64]
jne 0x11eadb1
movzx edx, word [edi + eax*2 + 8]
and edx, 0xfff
cmp edx, dword [ebp - 0x60]
jae 0x11eae66
mov edx, eax
inc eax
test word [edi + edx*2 + 8], 0xf000
mov dword [ebp - 0x54], eax
je 0x11ead5b
movzx eax, word [edi + edx*2 + 8]
mov edx, dword [edi]
and dword [ebp - 0x14], 0
and eax, 0xfff
lea eax, [eax + edx + 0x1000000]
mov dword [ebp - 0x1c], eax
sub dword [ebp - 0x1c], esi
mov dword [ebp - 0x34], eax
je 0x11eae1a
mov edx, ebx
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + esi]
sub eax, ecx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xe373700e
ror eax, 0x11
imul eax, eax, 0xe373700e
ror eax, 0x11
add dword [ebp - 0x24], eax
inc dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jb 0x11eade2
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x68], eax
xor esi, esi
movzx eax, byte [ebp + esi - 0x68]
sub eax, ecx
add dword [ebp - 0x24], eax
mov edx, ebx
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xe373700e
ror eax, 0x11
imul eax, eax, 0xe373700e
ror eax, 0x11
add dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
inc esi
cmp esi, 4
jb 0x11eae27
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x34]
add esi, 4
jmp 0x11ead5b
xor edi, edi
mov eax, dword [ebp - 0x38]
sub eax, esi
mov dword [ebp - 0x2c], eax
je 0x11eaea2
mov edx, ebx
movzx eax, byte [esi + edi]
sub eax, ecx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xe373700e
ror eax, 0x11
imul eax, eax, 0xe373700e
ror eax, 0x11
add dword [ebp - 0x24], eax
inc edi
cmp edi, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
jb 0x11eae72
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x24]
mov byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jb 0x11eaea4
mov eax, 0x4588d9c3
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
and eax, 7
mov dword [ebp - 0x30], eax
je 0x11eb07d
xor ecx, ecx
cmp eax, ecx
mov edi, dword [ebp - 0x3c]
not edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], ecx
jle 0x11eaf11
push 0x38
pop edx
cmp dword [ebp - 0x18], 4
movzx ebx, byte [esi]
jge 0x11eaefe
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x34], ebx
jmp 0x11eaf05
mov ecx, edx
shl ebx, cl
or dword [ebp - 0x1c], ebx
inc esi
inc dword [ebp - 0x18]
sub edx, 8
cmp dword [ebp - 0x18], eax
jl 0x11eaeeb
mov eax, dword [ebp - 0x3c]
movzx ecx, word [ebp - 8]
movzx edx, word [ebp - 6]
sub eax, edx
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
xor edi, eax
mov eax, edi
xor edx, edi
imul edx, ecx
ror eax, 0xc
xor eax, edx
movzx edx, word [ebp - 0xa]
xor eax, dword [ebp - 0x3c]
mov ebx, eax
xor ecx, eax
rol ecx, 2
imul edx, ecx
rol ebx, 9
sub edx, ebx
xor edi, edx
mov ebx, edi
movzx ecx, word [ebp - 0xa]
movzx edx, word [ebp - 0xc]
xor ecx, edi
mov dword [ebp - 0x14], edx
rol ecx, 7
imul edx, ecx
ror ebx, 4
xor ebx, edx
xor eax, ebx
mov ebx, eax
movzx edx, word [ebp - 0xa]
mov ecx, edx
xor ecx, eax
imul ecx, dword [ebp - 0x18]
shr ebx, 7
add ecx, ebx
xor edi, ecx
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, edi
sub ebx, ecx
movzx ecx, word [ebp - 8]
xor eax, ebx
mov ebx, dword [ebp - 0x14]
xor ecx, eax
rol ecx, 4
imul edx, ecx
mov ecx, eax
shr ecx, 6
add edx, ecx
mov ecx, dword [ebp - 8]
xor edi, edx
xor ecx, edi
ror ecx, 0xa
mov edx, edi
imul ebx, ecx
rol edx, 8
add edx, ebx
xor eax, edx
mov ecx, eax
mov ebx, eax
mov edx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xc]
rol ecx, 2
imul edx, ecx
movzx ecx, word [ebp - 8]
ror ebx, 9
xor ebx, edx
xor edi, ebx
mov ebx, dword [ebp - 0x14]
mov edx, edi
xor ebx, edi
imul ebx, ecx
ror edx, 2
add edx, ebx
xor eax, edx
mov edx, eax
sub edx, ecx
movzx ecx, word [ebp - 0xa]
imul edx, ecx
mov ecx, eax
and dword [ebp - 0x18], 0
shr ecx, 4
sub edx, ecx
xor edi, edx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
xor edx, edi
rol edx, 0xd
mov ebx, edi
imul ecx, edx
xor edi, dword [ebp - 0x1c]
ror ebx, 5
sub ecx, ebx
xor ecx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x30]
xor eax, ecx
test ebx, ebx
mov dword [ebp - 0x38], eax
mov ecx, edi
jle 0x11eb053
cmp dword [ebp - 0x18], 4
jge 0x11eb03a
rol dword [ebp - 0x38], 8
mov ebx, dword [ebp - 0x40]
mov dl, byte [ebp - 0x38]
inc dword [ebp - 0x40]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x11eb048
mov edx, dword [ebp - 0x40]
inc dword [ebp - 0x40]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
cmp dword [ebp - 0x18], ebx
jl 0x11eb020
add ebx, 0xfffffffc
test ebx, ebx
jle 0x11eb06a
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
jmp 0x11eb08c
xor edx, edx
test ebx, ebx
jge 0x11eb08c
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x11eb08c
xor edx, edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
not eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
shr ecx, 3
je 0x11eb247
movzx edi, word [ebp - 6]
mov dword [ebp - 0x18], edi
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
mov ebx, dword [ebp - 0x18]
mov ch, byte [esi]
movzx edi, byte [esi + 2]
add esi, 8
mov cl, byte [esi - 7]
shl ecx, 8
or ecx, edi
shl ecx, 8
movzx edi, byte [esi - 5]
or ecx, edi
mov dword [ebp - 0x38], ecx
movzx edi, byte [esi - 2]
xor ecx, ecx
xor eax, dword [ebp - 0x38]
mov ch, byte [esi - 4]
mov cl, byte [esi - 3]
shl ecx, 8
or ecx, edi
shl ecx, 8
movzx edi, byte [esi - 1]
or ecx, edi
mov dword [ebp - 0x30], ecx
mov ecx, eax
sub ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x30]
xor edx, ecx
mov edi, edx
movzx ecx, word [ebp - 8]
xor ebx, edx
imul ebx, ecx
ror edi, 0xc
xor edi, ebx
mov ebx, dword [ebp - 0x14]
xor eax, edi
mov edi, eax
xor ecx, eax
rol ecx, 2
imul ebx, ecx
rol edi, 9
sub ebx, edi
movzx edi, word [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
xor edx, ebx
mov ebx, edx
xor ecx, edx
rol ecx, 7
imul edi, ecx
mov ecx, dword [ebp - 0x14]
ror ebx, 4
xor ebx, edi
xor eax, ebx
xor ecx, eax
mov edi, eax
imul ecx, dword [ebp - 0x18]
shr edi, 7
add ecx, edi
xor edx, ecx
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, edx
sub edi, ecx
xor eax, edi
movzx ecx, word [ebp - 8]
mov edi, dword [ebp - 0x14]
xor ecx, eax
rol ecx, 4
imul edi, ecx
mov ecx, eax
shr ecx, 6
add edi, ecx
mov ecx, dword [ebp - 8]
xor edx, edi
mov ebx, edx
xor ecx, edx
ror ecx, 0xa
movzx edi, word [ebp - 0xc]
imul edi, ecx
rol ebx, 8
add ebx, edi
xor eax, ebx
mov edi, eax
mov ecx, eax
mov ebx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0xc]
rol ecx, 2
imul ebx, ecx
ror edi, 9
xor edi, ebx
xor edx, edi
mov edi, edx
movzx ecx, word [ebp - 0xc]
mov ebx, ecx
movzx ecx, word [ebp - 8]
xor ebx, edx
imul ebx, ecx
ror edi, 2
add edi, ebx
xor eax, edi
mov edi, eax
sub edi, ecx
mov ecx, eax
imul edi, dword [ebp - 0x14]
shr ecx, 4
sub edi, ecx
mov ecx, dword [ebp - 8]
xor edx, edi
movzx edi, word [ebp - 0xc]
mov ebx, edx
xor ecx, edx
rol ecx, 0xd
imul edi, ecx
mov cl, byte [ebp - 0xd]
xor edx, dword [ebp - 0x1c]
ror ebx, 5
sub edi, ebx
xor edi, dword [ebp - 0x34]
xor eax, edi
xor cl, al
mov edi, dword [ebp - 0x40]
xor cl, dl
mov byte [edi + 3], al
ror eax, 8
xor cl, al
mov byte [edi + 7], dl
ror edx, 8
xor cl, dl
mov byte [edi + 2], al
ror eax, 8
xor cl, al
mov byte [edi + 6], dl
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 - 0x38]
mov byte [edi], al
mov byte [edi + 4], dl
add edi, 8
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
dec dword [ebp - 0x2c]
ror eax, 8
ror edx, 8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x40], edi
jne 0x11eb0a9
mov eax, dword [ebp - 0x4c]
mov cl, byte [ebp - 0xd]
cmp cl, byte [eax + 8]
je 0x11eb2d7
call fcn.012a18fc
mov edx, dword [ebp - 0x50]
mov dword [edx + 8], 0x103a6aa
mov edi, eax
mov eax, 0xfffff000
lea ecx, [edx + 0xc]
and ecx, 0xfffffffc
lea esi, [ecx + 0xfff]
and edi, eax
and esi, eax
mov edx, 0xffff
xor eax, eax
mov ebx, dword [0x1427a7c]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x1427a7c], ebx
shr ebx, 0x10
shl eax, 0x10
or eax, ebx
shr edx, 0x10
jne 0x11eb283
mov ebx, 0xffff
xor edx, edx
div ebx
mov dword [ebp - 0x7c], edi
inc edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x4c], 0
jmp 0x11eb2c9
mov eax, dword [ebp - 0x4c]
mov dword [ecx], eax
add ecx, 4
cmp ecx, esi
jb 0x11eb2c1
mov eax, 0x103a6aa
jmp 0x11eb3a8
mov ecx, 0x1000000
mov eax, dword [ebp - 0x48]
mov edx, dword [0x13ca1e8]
sub eax, dword [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
jne 0x11eb2fa
test eax, eax
je 0x11eb39b
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [0x1236cc0]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x28]
sub esi, dword [ebp - 0x48]
add eax, ebx
xor edi, edi
mov dword [ebp - 0x4c], eax
dec ecx
js 0x11eb33d
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1236cc4]
and edx, 0xfffffff
cmp ebx, edx
jae 0x11eb334
lea ecx, [eax - 1]
jmp 0x11eb339
jbe 0x11eb341
lea edi, [eax + 1]
cmp ecx, edi
jge 0x11eb316
mov ebx, edi
jmp 0x11eb393
mov ebx, eax
jmp 0x11eb393
mov eax, dword [ebx*4 + 0x1236cc4]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x4c]
jae 0x11eb39b
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 0x11eb386
dec ecx
je 0x11eb381
dec ecx
jne 0x11eb38c
mov edx, dword [ebp - 0x2c]
jmp 0x11eb38c
mov edx, dword [ebp - 0x30]
jmp 0x11eb38c
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x30]
dec eax
dec eax
jne 0x11eb392
add dword [edi], edx
inc ebx
cmp ebx, dword [0x1236cc0]
jb 0x11eb345
mov eax, dword [0x109dc84]
mov eax, 0xe5c81cfb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 8], eax
mov ebx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x84]
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
mov esp, ebp
pop ebp
popfd
ret