Function at 0x100cd040
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017fe9d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 0x28]
add eax, 0xfffffffc
cmp eax, 0xe5
ja case.0x100cd08b.5
movzx eax, byte [eax + 0x100cd704]
jmp dword [eax*4 + 0x100cd6ac]
mov byte [ebp - 4], 1
push 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10048e10
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, ecx
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp + 8]
call fcn.1007ff60
cmp byte [0x101db86e], 0
je 0x100cd115
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
push 0xfffe80fe
mov byte [0x101db86e], 0
call fcn.100d7d30
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.100447b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100cd136
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048ea0
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048ea0
add esp, 8
jmp case.0x100cd08b.5
sub esp, 0x24
lea eax, [ebp + 8]
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x3c], esi
push eax
call fcn.10094580
mov dword [esi], vtable.Packet.0
mov al, byte [ebp + 0x28]
mov byte [esi + 0x20], al
call fcn.100c8480
add esp, 0x24
jmp case.0x100cd08b.5
lea ecx, [ebp + 8]
call fcn.100cb570
jmp case.0x100cd08b.5
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
sub ecx, dword [ebp + 0x1c]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100cd1b1
mov byte [ebp - 0x38], 0
jmp 0x100cd1c2
push edx
lea ecx, [ebp + 0x18]
call fcn.1004f440
mov edx, dword [ebp + 0x10]
mov al, byte [eax]
mov byte [ebp - 0x38], al
mov eax, dword [0x1027c0b4]
inc edx
mov dword [ebp + 0x10], edx
mov ecx, dword [eax + 0x498]
test ecx, ecx
je case.0x100cd08b.5
push dword [ebp - 0x38]
lea eax, [ebp + 8]
push eax
call fcn.10109a80
jmp case.0x100cd08b.5
lea ecx, [ebp + 8]
call fcn.100cb760
jmp case.0x100cd08b.5
lea ecx, [ebp + 8]
call fcn.100cba50
jmp case.0x100cd08b.5
lea ecx, [ebp + 8]
call fcn.100cbc80
jmp case.0x100cd08b.5
lea ecx, [ebp + 8]
call fcn.100cbef0
jmp case.0x100cd08b.5
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x20]
mov ecx, esi
mov edi, dword [ebp + 0x1c]
sub ecx, edi
lea eax, [edx + 2]
cmp eax, ecx
ja 0x100cd244
push edx
lea ecx, [ebp + 0x18]
call fcn.1004f440
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
add edx, 2
mov ecx, esi
sub ecx, edi
mov dword [ebp + 0x10], edx
lea eax, [edx + 1]
cmp eax, ecx
ja 0x100cd267
push edx
lea ecx, [ebp + 0x18]
call fcn.1004f440
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
inc edx
sub esi, edi
mov dword [ebp + 0x10], edx
lea eax, [edx + 4]
cmp eax, esi
ja 0x100cd280
push edx
lea ecx, [ebp + 0x18]
call fcn.1004f440
mov edx, dword [ebp + 0x10]
add edx, 4
mov dword [ebp + 0x10], edx
jmp case.0x100cd08b.5
lea ecx, [ebp + 8]
call fcn.100cc080
jmp case.0x100cd08b.5
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
sub ecx, dword [ebp + 0x1c]
lea eax, [edx + 1]
cmp eax, ecx
ja 0x100cd2b4
push edx
lea ecx, [ebp + 0x18]
call fcn.1004f440
mov edx, dword [ebp + 0x10]
inc edx
mov dword [ebp + 0x10], edx
jmp case.0x100cd08b.5
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x20]
mov ecx, esi
mov edi, dword [ebp + 0x1c]
sub ecx, edi
lea eax, [edx + 2]
cmp eax, ecx
ja 0x100cd2e3
push edx
lea ecx, [ebp + 0x18]
call fcn.1004f440
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
add edx, 2
sub esi, edi
mov dword [ebp + 0x10], edx
lea eax, [edx + 2]
cmp eax, esi
ja 0x100cd2fe
push edx
lea ecx, [ebp + 0x18]
call fcn.1004f440
mov edx, dword [ebp + 0x10]
add edx, 2
mov dword [ebp + 0x10], edx
jmp case.0x100cd08b.5
mov eax, dword [0x1027c0b4]
mov byte [eax + 0x431], 1
jmp case.0x100cd08b.5
mov eax, dword [0x1027c0b4]
mov word [eax + 0x431], 0x101
call fcn.100ce340
mov eax, dword [0x1027c0b4]
cmp dword [eax + 0x4a0], 0
je case.0x100cd08b.5
call fcn.10112930
jmp case.0x100cd08b.5
lea ecx, [ebp + 8]
call fcn.100cc2d0
jmp case.0x100cd08b.5
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
sub ecx, dword [ebp + 0x1c]
mov esi, dword [0x1027c0b4]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100cd370
xor bl, bl
jmp 0x100cd37e
push edx
lea ecx, [ebp + 0x18]
call fcn.1004f440
mov edx, dword [ebp + 0x10]
mov bl, byte [eax]
mov eax, dword [0x1027c0b4]
inc edx
mov dword [ebp + 0x10], edx
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x100cd39b
push 1
call fcn.10060190
mov edx, dword [ebp + 0x10]
movzx eax, bl
sub eax, 2
je 0x100cd43b
sub eax, 1
jne case.0x100cd08b.5
mov ecx, dword [ebp + 0x20]
lea eax, [edx + 2]
sub ecx, dword [ebp + 0x1c]
mov bl, byte [esi + 0x1dd]
cmp eax, ecx
jbe 0x100cd3c7
xor eax, eax
jmp 0x100cd3d6
push edx
lea ecx, [ebp + 0x18]
call fcn.1004f440
mov edx, dword [ebp + 0x10]
movzx eax, word [eax]
mov ecx, dword [esi + 0x4fc]
add edx, 2
mov dword [ebp + 0x10], edx
mov byte [esi + 0x1dd], al
mov byte [esi + 0x1d8], 0
mov byte [esi + 0x241], 0
test ecx, ecx
je 0x100cd407
push 1
call fcn.100fd080
mov al, byte [esi + 0x1dd]
cmp al, 0x1e
je case.0x100cd08b.5
cmp bl, 0x1e
jne case.0x100cd08b.5
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x474]
mov ecx, dword [eax + 0x138]
test ecx, ecx
je case.0x100cd08b.5
call fcn.1004a2c0
jmp case.0x100cd08b.5
mov byte [esi + 0x241], 0
mov byte [esi + 0x1d8], 0
jmp case.0x100cd08b.5
mov eax, dword [0x1027c0b4]
cmp byte [eax + 0x433], 0
jne 0x100cd461
call fcn.100babb0
mov eax, dword [0x1027c0b4]
mov ecx, dword [eax + 0x480]
test ecx, ecx
je case.0x100cd08b.5
lea eax, [ebp + 8]
push eax
call fcn.1011a790
jmp case.0x100cd08b.5
mov eax, dword [0x1027c0b4]
mov byte [0x1027bffe], 1
mov ecx, dword [eax + 0x98]
mov word [eax + 0x431], 0x101
mov byte [eax + 0x241], 0
test ecx, ecx
je 0x100cd4a8
push 1
call fcn.10060190
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x38]
push eax
push 0x40
push 2
push 0x549949
call esi
mov ax, word [0x101bf310]
mov word [0x549949], ax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
push 2
push 0x549949
call esi
jmp case.0x100cd08b.5
lea ecx, [ebp + 8]
call fcn.100cc5b0
jmp case.0x100cd08b.5
lea ecx, [ebp + 8]
call fcn.100ccba0
mov eax, dword [0x1027c0b4]
cmp byte [eax + 0x430], 0
jne 0x100cd63c
cmp byte [eax + 0x432], 0
je 0x100cd63c
push ecx
lea ecx, [ebp - 0x34]
call fcn.1006b390
mov dword [ebp - 0x34], vtable.Packet.0
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 4], 0xb
mov bl, 0xa7
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
mov edx, dword [ebp - 0x20]
sub eax, edx
cmp eax, 0x989680
jb 0x100cd554
push 0x97
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardByteBuffer.h
push str.size_____10000000
call fcn.1013d1c0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
sub ecx, edx
lea edx, [eax + 1]
cmp ecx, edx
jae 0x100cd56c
push edx
lea ecx, [ebp - 0x24]
call fcn.10052c50
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.10052be0
mov byte [eax], bl
inc dword [ebp - 0x28]
cmp byte [0x1027bfa7], 0
je 0x100cd5e1
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
inc eax
movzx edi, ax
push edi
call fcn.10120ea0
mov cl, byte [ebp - 0x14]
mov esi, eax
add esp, 4
mov byte [esi], cl
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
je 0x100cd5bd
push eax
push 0
lea ecx, [ebp - 0x24]
call fcn.1004f440
push eax
lea eax, [esi + 1]
push eax
call fcn.10122ae0
add esp, 0xc
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edi
mov ecx, dword [0x101ba6c8]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [0x101ba664]
push esi
call fcn.10120260
add esp, 4
mov eax, dword [0x1027c0b4]
lea ecx, [ebp - 0x24]
mov byte [eax + 0x430], 1
mov dword [ebp - 0x34], vtable.ByteBuffer.0
call fcn.100447b0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100cd627
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push ecx
call fcn.10048ea0
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x24]
push 8
push eax
mov dword [ebp - 0x24], 0
call fcn.10048ea0
add esp, 8
lea ecx, [ebp + 0x18]
mov dword [ebp + 8], vtable.ByteBuffer.0
call fcn.100447b0
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x100cd676
mov eax, dword [ebp + 0x24]
sub eax, ecx
push eax
push ecx
call fcn.10048ea0
add esp, 8
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
mov eax, dword [ebp + 0x18]
push 8
push eax
mov dword [ebp + 0x18], 0
call fcn.10048ea0
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10120250
mov esp, ebp
pop ebp
ret