Function at 0x404a70
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a75b
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x44e414]
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 ebx, ecx
mov dword [ebp - 0x834], ebx
mov ecx, dword [ebx + 0xc]
lea edx, [ebp - 0x814]
mov byte [ebp - 0x814], 0x43
push edx
push 1
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [ebx + 0xc]
lea edx, [ebp - 0x814]
mov byte [ebp - 0x814], 0xbc
push edx
push 1
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0x401
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0043a378
mov ecx, dword [ebx + 0xc]
lea edx, [ebp - 0x414]
add esp, 0xc
mov eax, dword [ecx]
push edx
push 1
call dword [eax + 0x38]
mov al, byte [ebp - 0x414]
cmp al, 0x1f
je 0x404ce0
cmp al, 0x79
jne 0x404ce0
mov al, byte [ebp + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x818], 0xf
test al, al
jne 0x404bf7
mov dword [ebp - 0x81c], 1
lea edx, [ebp - 0x82c]
mov word [ebp - 0x82c], 0xff
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], 0
call dword [eax + 0x2c]
cmp dword [ebp - 0x818], 0x10
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x81c], 1
cmovae eax, dword [ebp - 0x82c]
mov word [eax], 0
mov ecx, dword [ebx + 0xc]
lea edx, [ebp - 0x82c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebx + 0xc]
lea edx, [ebp - 0x414]
mov byte [ebp - 0x414], 0xff
push edx
push 1
mov eax, dword [ecx]
call dword [eax + 0x38]
cmp byte [ebp - 0x414], 0x79
mov edx, dword [ebp - 0x818]
sete bl
dec bl
and bl, 0x14
cmp edx, 0x10
jb 0x404bf0
mov ecx, dword [ebp - 0x82c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404be6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404be6
call dword [0x43f418]
push edx
push ecx
call fcn.004395ca
add esp, 8
mov al, bl
jmp 0x404ce2
dec al
mov dword [ebp - 0x81c], 1
mov byte [ebp - 0x82d], al
lea edx, [ebp - 0x82c]
mov byte [ebp - 0x82c], al
mov byte [ebp - 0x82b], 0
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], 1
call dword [eax + 0x2c]
movzx ebx, byte [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, ebx
add edi, 0xfffffffe
mov dword [ebp - 0x838], ebx
mov ebx, dword [ebp - 0x834]
lea edi, [edi + esi*2]
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0x818], 0x10
lea eax, [ebp - 0x82c]
mov cl, byte [edi]
lea edx, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
mov dword [ebp - 0x81c], 1
push edx
mov byte [eax], cl
mov byte [eax + 1], 0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x2c]
dec esi
lea edi, [edi - 2]
test esi, esi
jg 0x404c50
mov edx, dword [ebp + 0xc]
mov eax, 1
mov ebx, dword [ebp - 0x838]
mov cl, byte [edx]
cmp ebx, eax
jbe 0x404ca9
xor cl, byte [edx + eax*2]
inc eax
cmp eax, ebx
jl 0x404ca1
mov dl, byte [ebp - 0x82d]
lea eax, [ebp - 0x82c]
mov ebx, dword [ebp - 0x834]
xor dl, cl
cmp dword [ebp - 0x818], 0x10
mov dword [ebp - 0x81c], 1
cmovae eax, dword [ebp - 0x82c]
mov byte [eax], dl
mov byte [eax + 1], 0
jmp 0x404b7e
mov al, 0x14
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.004395e6
mov esp, ebp
pop ebp
ret 8