Function at 0x10007770
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
lea eax, [ebp - 0x80]
push eax
push 0x40
push 0x1c
push 0xe60ed5
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10007ca7
cmp dword [ebp + 8], 0
jle 0x10007bcd
mov dword [ebp - 4], 0
jmp 0x100077b0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 4
jae 0x10007bc8
mov edx, dword [ebp - 4]
add edx, 1
cmp edx, dword [ebp + 8]
jne 0x100079c7
mov eax, dword [ebp - 4]
lea ecx, [eax*4 + 0xe60ed5]
mov dword [ebp - 0x30], ecx
push 1
mov edx, dword [ebp - 0x30]
push edx
call fcn.10003a80
test eax, eax
jne 0x100078cb
mov dword [ebp - 0x50], 0
push 1
mov eax, dword [ebp - 0x30]
push eax
call fcn.10003990
test eax, eax
jne 0x1000782f
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x1c], 0
jmp 0x10007817
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 1
jge 0x1000782f
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x1c]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x1000780e
cmp dword [ebp - 0x50], 1
je 0x100078cb
mov dword [ebp - 0xc], 0
mov eax, 1
and eax, 0xff
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x34], al
mov eax, 1
shr eax, 8
and eax, 0xff
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x34], al
mov edx, 1
shr edx, 0x10
and edx, 0xff
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x34], dl
mov ecx, 1
shr ecx, 0x18
and ecx, 0xff
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x34], cl
mov dword [ebp - 0xc], 0
jmp 0x100078b4
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 1
jge 0x100078cb
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov cl, byte [ebp + eax - 0x34]
mov byte [edx], cl
jmp 0x100078ab
mov edx, dword [ebp - 4]
lea eax, [edx*4 + 0xe60ed7]
mov dword [ebp - 0x38], eax
push 1
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.10003a80
test eax, eax
jne 0x100079c2
mov dword [ebp - 0x54], 0
push 1
mov edx, dword [ebp - 0x38]
push edx
call fcn.10003990
test eax, eax
jne 0x10007931
lea eax, [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x20], 0
jmp 0x10007919
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 1
jge 0x10007931
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x20]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x10007910
cmp dword [ebp - 0x54], 0
je 0x100079c2
mov dword [ebp - 0x10], 0
xor edx, edx
and edx, 0xff
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x3c], dl
xor edx, edx
shr edx, 8
and edx, 0xff
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x3c], dl
xor ecx, ecx
shr ecx, 0x10
and ecx, 0xff
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x3c], cl
xor eax, eax
shr eax, 0x18
and eax, 0xff
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x3c], al
mov dword [ebp - 0x10], 0
jmp 0x100079ab
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x100079c2
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov al, byte [ebp + edx - 0x3c]
mov byte [ecx], al
jmp 0x100079a2
jmp 0x10007bc3
mov ecx, dword [ebp - 4]
lea edx, [ecx*4 + 0xe60ed5]
mov dword [ebp - 0x40], edx
push 1
mov eax, dword [ebp - 0x40]
push eax
call fcn.10003a80
test eax, eax
jne 0x10007abe
mov dword [ebp - 0x58], 0
push 1
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.10003990
test eax, eax
jne 0x10007a2d
lea edx, [ebp - 0x58]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x24], 0
jmp 0x10007a15
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x10007a2d
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x24]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x10007a0c
cmp dword [ebp - 0x58], 0
je 0x10007abe
mov dword [ebp - 0x14], 0
xor ecx, ecx
and ecx, 0xff
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x44], cl
xor ecx, ecx
shr ecx, 8
and ecx, 0xff
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x44], cl
xor eax, eax
shr eax, 0x10
and eax, 0xff
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0x44], al
xor edx, edx
shr edx, 0x18
and edx, 0xff
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x44], dl
mov dword [ebp - 0x14], 0
jmp 0x10007aa7
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 1
jge 0x10007abe
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp + ecx - 0x44]
mov byte [eax], dl
jmp 0x10007a9e
mov eax, dword [ebp - 4]
lea ecx, [eax*4 + 0xe60ed7]
mov dword [ebp - 0x48], ecx
push 1
mov edx, dword [ebp - 0x48]
push edx
call fcn.10003a80
test eax, eax
jne 0x10007bc3
mov dword [ebp - 0x5c], 0
push 1
mov eax, dword [ebp - 0x48]
push eax
call fcn.10003990
test eax, eax
jne 0x10007b24
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x28], 0
jmp 0x10007b0c
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 1
jge 0x10007b24
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x28]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x10007b03
cmp dword [ebp - 0x5c], 0xff
je 0x10007bc3
mov dword [ebp - 0x18], 0
mov eax, 0xff
and eax, 0xff
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x4c], al
mov eax, 0xff
shr eax, 8
and eax, 0xff
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x4c], al
mov edx, 0xff
shr edx, 0x10
and edx, 0xff
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x4c], dl
mov ecx, 0xff
shr ecx, 0x18
and ecx, 0xff
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x4c], cl
mov dword [ebp - 0x18], 0
jmp 0x10007bac
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 1
jge 0x10007bc3
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov cl, byte [ebp + eax - 0x4c]
mov byte [edx], cl
jmp 0x10007ba3
jmp 0x100077a7
jmp 0x10007c8f
mov dword [ebp - 0x7c], 0
mov edx, 0x1c
test edx, edx
jle 0x10007c8f
push 0x1c
push 0xe60ed5
call fcn.10003a80
test eax, eax
jne 0x10007c8f
mov dword [ebp - 8], 0
jmp 0x10007c07
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1c
jge 0x10007c88
mov ecx, dword [ebp - 8]
add ecx, 0xe60ed5
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], 0
push 1
mov edx, dword [ebp - 0x60]
push edx
call fcn.10003990
test eax, eax
jne 0x10007c5f
lea eax, [ebp - 0x64]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x2c], 0
jmp 0x10007c47
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 1
jge 0x10007c5f
mov edx, dword [ebp - 0x78]
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x2c]
mov cl, byte [eax]
mov byte [edx], cl
jmp 0x10007c3e
movzx edx, byte [ebp - 0x64]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1006aa04]
cmp edx, ecx
je 0x10007c83
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0x1006aa04]
mov byte [edx + 0xe60ed5], cl
jmp 0x10007bfe
mov dword [ebp - 0x7c], 1
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x80]
push eax
push 0x1c
push 0xe60ed5
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret