Function at 0x1000ca10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x1006b850]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x68], 0
mov eax, 1
test eax, eax
je 0x1000cac9
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x44]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x44]
lea ecx, [eax + edx + 0xf8]
mov dword [ebp - 0x60], ecx
mov edx, 0x28
imul eax, edx, 0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x44]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x24], edx
mov eax, 0x28
imul ecx, eax, 0
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x64], eax
mov ecx, 0x28
shl ecx, 0
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x44]
add eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, 0x28
shl ecx, 0
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x88], str.RICHED32.DLL
mov dword [ebp - 0x7c], str.analyze:_error._too_short.
mov dword [ebp - 0x84], str.SceneCertify::analyze___:_error._bad_crc.
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x4c], 0
jmp 0x1000cafd
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x68]
sub edx, 0x20
cmp dword [ebp - 0x4c], edx
jge 0x1000cb42
mov eax, dword [ebp - 0x88]
push eax
call fcn.10043a70
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x4c]
push edx
call fcn.1000c970
add esp, 0xc
test eax, eax
je 0x1000cb40
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
jmp 0x1000cb42
jmp 0x1000caf4
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x54], 0
jmp 0x1000cb5b
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x68]
sub edx, 0x20
cmp dword [ebp - 0x54], edx
jge 0x1000cb97
mov eax, dword [ebp - 0x7c]
push eax
call fcn.10043a70
add esp, 4
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x54]
push edx
call fcn.1000c970
add esp, 0xc
test eax, eax
je 0x1000cb95
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x78], eax
jmp 0x1000cb97
jmp 0x1000cb52
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
jmp 0x1000cbb0
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x68]
sub edx, 0x20
cmp dword [ebp - 0x5c], edx
jge 0x1000cbf2
mov eax, dword [ebp - 0x84]
push eax
call fcn.10043a70
add esp, 4
push eax
mov ecx, dword [ebp - 0x84]
push ecx
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x5c]
push edx
call fcn.1000c970
add esp, 0xc
test eax, eax
je 0x1000cbf0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
jmp 0x1000cbf2
jmp 0x1000cba7
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0
jmp 0x1000cc0b
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x64]
sub edx, 0x20
cmp dword [ebp - 0x38], edx
jge 0x1000cc3f
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax]
jne 0x1000cc3d
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x38]
movzx eax, byte [edx - 1]
cmp eax, 0x68
jne 0x1000cc3d
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
jmp 0x1000cc3f
jmp 0x1000cc02
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x40], 0
jmp 0x1000cc58
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x64]
sub eax, 0x20
cmp dword [ebp - 0x40], eax
jge 0x1000cc8c
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x78]
cmp edx, dword [ecx]
jne 0x1000cc8a
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x40]
movzx ecx, byte [eax - 1]
cmp ecx, 0x68
jne 0x1000cc8a
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x40]
mov dword [ebp - 0x28], edx
jmp 0x1000cc8c
jmp 0x1000cc4f
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
jmp 0x1000cca5
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x64]
sub ecx, 0x20
cmp dword [ebp - 0x3c], ecx
jge 0x1000ccd9
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x6c]
cmp eax, dword [edx]
jne 0x1000ccd7
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x3c]
movzx edx, byte [ecx - 1]
cmp edx, 0x68
jne 0x1000ccd7
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
jmp 0x1000ccd9
jmp 0x1000cc9c
mov ecx, 1
test ecx, ecx
je 0x1000cd3c
mov dword [ebp - 0x20], 0x83
mov dword [ebp - 0x1c], 0xf8
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x58], 0
jmp 0x1000cd09
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0x300
jge 0x1000cd3c
push 3
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x58]
push ecx
call fcn.1000c9c0
add esp, 0xc
test eax, eax
je 0x1000cd3a
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx + 3]
mov dword [ebp - 0x2c], ecx
jmp 0x1000cd3c
jmp 0x1000cd00
mov edx, 1
test edx, edx
je 0x1000cda1
mov dword [ebp - 0x90], 0x85
mov dword [ebp - 0x8c], 0xc0
mov dword [ebp - 0x50], 0
jmp 0x1000cd6b
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x300
jge 0x1000cda1
push 2
lea ecx, [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x50]
push edx
call fcn.1000c9c0
add esp, 0xc
test eax, eax
je 0x1000cd9f
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x28]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x28], edx
jmp 0x1000cda1
jmp 0x1000cd62
mov eax, 1
test eax, eax
je 0x1000cdb3
mov ecx, dword [ebp - 0x34]
sub ecx, 3
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x2c]
push edx
push str.ptr_patch0_:__x_r_n
call fcn.1001c721
add esp, 8
mov eax, dword [ebp - 0x28]
push eax
push str.ptr_patch1_:__x_r_n
call fcn.1001c721
add esp, 8
mov ecx, dword [ebp - 0x34]
push ecx
push str.ptr_patch2_:__x_r_n
call fcn.1001c721
add esp, 8
mov byte [ebp - 0x14], 0x90
mov byte [ebp - 0x13], 0x90
mov byte [ebp - 0x12], 0x90
mov byte [ebp - 0x11], 0x90
mov byte [ebp - 0x10], 0x90
mov byte [ebp - 0xf], 0x90
mov byte [ebp - 0xe], 0xeb
lea edx, [ebp - 0x48]
push edx
push 0x40
push pe_nt_image_headers32
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 7
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10043eb0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
push pe_nt_image_headers32
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebp - 0xc], 0x90
mov byte [ebp - 0xb], 0x90
mov byte [ebp - 0xa], 0x90
mov byte [ebp - 9], 0x90
mov byte [ebp - 8], 0x90
mov byte [ebp - 7], 0x90
lea eax, [ebp - 0x48]
push eax
push 0x40
push pe_nt_image_headers32
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 6
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.10043eb0
add esp, 0xc
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push pe_nt_image_headers32
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x48]
push ecx
push 0x40
push pe_nt_image_headers32
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x34]
mov byte [eax], 0xeb
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push pe_nt_image_headers32
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c906
mov esp, ebp
pop ebp
ret