Function at 0x478a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, eax
lea edi, [ebp - 0x2c]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x2c]
mov edx, dword [0x478498]
call fcn.0040551c
xor eax, eax
push ebp
push 0x478db3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x24
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x478a4c]
call fcn.00405aac
add esp, 4
mov eax, dword [ebp - 4]
call fcn.004058f0
mov edx, dword [ebp - 4]
xor ecx, ecx
xchg edx, eax
call fcn.004033b4
lea eax, [ebp - 0x88]
push eax
mov eax, 0x64
call fcn.00403178
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x8c], 0
lea edx, [ebp - 0x90]
xor ecx, ecx
mov eax, 0x478dcc
call fcn.00409610
mov eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x94]
movzx edx, byte [ebp - 0x28]
call fcn.00404a8c
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 8]
pop ecx
call fcn.00404bbc
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x72]
push eax
movzx eax, byte [ebp - 0xc]
push eax
lea ecx, [ebp - 0x27]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
call fcn.00478618
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x72]
mov cl, 0x36
mov dl, 0x10
call fcn.00478874
lea eax, [ebp - 0x2c]
call fcn.00404d94
mov edx, dword [ebp - 4]
add edx, 0x10
mov ecx, 4
call fcn.00403050
lea eax, [ebp - 8]
call fcn.00404d94
mov edx, dword [ebp - 4]
add edx, 0x14
mov ecx, 3
call fcn.00403050
xor ebx, ebx
mov eax, pe_nt_image_headers32
call fcn.00403178
movzx edx, bl
add edx, 0x17
mov ecx, dword [ebp - 4]
mov byte [ecx + edx], al
inc ebx
cmp bl, 5
jne 0x478b9c
lea edx, [ebp - 0x62]
mov eax, dword [ebp - 4]
add eax, 0x17
mov ecx, 5
call fcn.00403050
mov eax, dword [ebp - 4]
call fcn.004058f0
mov edx, eax
lea ecx, [ebp - 0x82]
mov eax, dword [ebp - 4]
call fcn.004784d8
push 0x20
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x478a4c]
call fcn.00405aac
add esp, 4
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x72]
mov cl, 0x5c
mov dl, 0x10
call fcn.00478874
mov eax, dword [ebp - 4]
lea edx, [eax + 0x10]
lea eax, [ebp - 0x82]
mov ecx, 0x10
call fcn.00403050
mov eax, dword [ebp - 4]
call fcn.004058f0
mov edx, eax
lea ecx, [ebp - 0x82]
mov eax, dword [ebp - 4]
call fcn.004784d8
push 0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x478a4c]
call fcn.00405aac
add esp, 4
mov bl, 8
lea eax, [ebp - 0x82]
lea edx, [ebp - 0x82]
lea esi, [ebp - 0x44]
movzx ecx, byte [edx]
xor cl, byte [eax]
mov byte [esi], cl
inc esi
add edx, 2
inc eax
dec bl
jne 0x478c62
lea edx, [ebp - 0x5d]
lea eax, [ebp - 0x44]
mov ecx, 8
call fcn.00403050
xor ecx, ecx
mov dl, 1
mov eax, dword [0x474b64]
call fcn.00473f4c
mov dword [ebp - 0x34], eax
push 0
lea edx, [ebp - 0x72]
mov ecx, 0x80
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x40]
lea edx, [ebp - 0x55]
lea eax, [ebp - 0x62]
mov ecx, 0xd
call fcn.00403050
mov bl, 1
lea esi, [ebp - 0x62]
lea eax, [ebp - 0x55]
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x3c]
mov eax, esi
mov ecx, 8
call fcn.004788ac
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
mov edi, dword [eax]
call dword [edi + 0x6c]
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x44]
mov ecx, 8
call fcn.004788ac
mov eax, dword [ebp - 0x48]
mov edx, eax
lea eax, [ebp - 0x44]
mov ecx, 8
call fcn.00403050
add dword [ebp - 0x48], 8
add esi, 8
dec bl
jne 0x478cc0
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x34]
call fcn.00403a78
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x55]
mov edx, 0xd
call fcn.00478914
mov edx, dword [ebp - 0x30]
mov ecx, 8
mov eax, 0x478ddc
call fcn.00404e24
mov edx, dword [ebp - 0x30]
mov ecx, 0x10
mov eax, 0x478ddc
call fcn.00404e24
push dword [ebp - 0x2c]
push dword [ebp - 8]
push 0x478ddc
mov eax, dword [ebp - 0x30]
push dword [eax]
mov eax, dword [ebp - 0x30]
mov edx, 4
call fcn.00404c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478dba
lea eax, [ebp - 0x94]
call fcn.004048a4
lea eax, [ebp - 0x88]
call fcn.004048a4
lea eax, [ebp - 0x2c]
mov edx, dword [0x478498]
call fcn.004053d8
lea eax, [ebp - 8]
call fcn.004048a4
lea eax, [ebp - 4]
mov edx, dword [0x478a4c]
call fcn.00405ab8
ret