Function at 0x12c8270
Capabilities:
Access peb ldr_data
Encode data using xor
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe14933
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x30
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 1
mov eax, dword [0xe465e8]
test al, 1
jne 0x12c82d5
or eax, 1
push 2
push 0xe465ec
mov dword [0xe465e8], eax
call fcn.01384a65
push 0xe1b7a0
call fcn.0138576e
add esp, 0xc
push 0xe465ec
call fcn.01384a84
add esp, 4
test eax, eax
jne 0x12c856a
cmp dword [0xe43b70], 0x10
mov byte [0xe45eba], al
mov eax, 0xe43b5c
cmovae eax, dword [0xe43b5c]
push 0
mov dword [0xe43b6c], 0
push 0xd0525
mov byte [eax], 0
call fcn.012b0520
mov edi, eax
mov word [ebp - 0x17], 0x7c
mov eax, dword [0xe43aac]
lea ecx, [ebp - 0x17]
add esp, 8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x15], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x12c8338
sub ecx, edx
mov eax, 0x7fffffff
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x12c8570
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x17]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x40]
call fcn.01315f90
sub esp, 0x18
mov byte [ebp - 4], 2
mov esi, esp
lea eax, [ebx + 0x20]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], esi
push eax
call fcn.0130e2d0
mov ecx, dword [ebp - 0x1c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov edx, edi
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.012c6860
add esp, 0x18
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
test al, al
setne al
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x12c840e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8401
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c8575
push ecx
push edx
call fcn.01385783
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x12c84c7
cmp byte [0xe45eba], 0
jne 0x12c84c7
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x20], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x18], ecx
cmp ecx, edx
je 0x12c8497
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x12c8497
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edi*4]
add ecx, edx
sub ecx, 4
dec edi
mov dword [ebp - 0x1c], ecx
mov esi, 0x811c9dc5
mov ecx, dword [ecx]
add ecx, edx
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x12c848d
nop dword [eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x12c8470
cmp esi, 0x2fa62ca8
je 0x12c849b
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x12c8455
mov eax, dword [eax]
jmp 0x12c8430
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
push 2
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
cmp byte [0xe45eba], 0
je 0x12c8423
mov esi, dword [ebp - 0x24]
mov ecx, esi
push 0xe43b5c
call fcn.0130e550
push 0xe465ec
call fcn.01384a95
mov ecx, dword [ebx + 0x1c]
add esp, 4
cmp ecx, 0x10
jb 0x12c8513
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c8509
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c857a
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x12c8555
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x12c854b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x12c857a
push ecx
push edx
call fcn.01385783
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
call fcn.0138472b
call fcn.012aa840
call fcn.0138aa20
call fcn.0138aa20
int3