Function at 0x401011
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
mov esi, dword [section..rdata]
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
xor ebx, ebx
push ebx
push ebx
push 0x41624c
push 0x416264
mov dword [ebp - 0x1c], ebx
call esi
mov edi, dword [0x413008]
push eax
call edi
call eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x24], ebx
jbe 0x4012d5
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x14]
push 5
push dword [eax]
mov dword [ebp - 0x48], ebx
push ebx
push 0x416280
push 0x416264
call esi
push eax
call edi
call eax
cmp dword [ebp - 0x20], 2
jbe 0x4012c2
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
mov dword [ebp - 0x10], ebx
push 0x41629c
push 0x416264
mov dword [ebp - 8], ebx
call esi
push eax
call edi
call eax
lea eax, [ebp - 8]
push eax
push 1
push 1
push ebx
push 0x2000000
push dword [ebp - 0x10]
push 0x4162b0
push 0x415eac
call esi
push eax
call edi
call eax
push dword [ebp - 0x10]
push 0x4162c4
push 0x4162d0
call esi
push eax
call edi
call eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x20]
push ecx
push 4
lea ecx, [ebp - 0x4c]
push ecx
push 0x13
push eax
push 0x4162ec
push 0x415eac
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
call esi
push eax
call edi
call eax
test eax, eax
je 0x401111
mov eax, dword [ebp - 0x4c]
jmp 0x401117
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push ebx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x416300
push 0x416318
mov dword [ebp - 0xc], ebx
call esi
push eax
call edi
call eax
test eax, eax
jne 0x40113b
mov dword [ebp - 0xc], ebx
push 0x44
lea eax, [ebp - 0xac]
push ebx
push eax
call 0x40b0e0
add esp, 0xc
push 0x7c
pop eax
push 0x62
mov word [ebp - 0x44], ax
pop eax
push 0x65
mov word [ebp - 0x42], ax
pop eax
push 0x78
mov word [ebp - 0x40], ax
pop eax
push 0x7f
mov word [ebp - 0x3e], ax
pop eax
push 0x6a
mov word [ebp - 0x3c], ax
pop eax
push 0x3b
mov word [ebp - 0x3a], ax
pop eax
push 0x57
mov word [ebp - 0x38], ax
pop eax
push 0x6f
mov word [ebp - 0x36], ax
pop eax
push 0x6e
mov word [ebp - 0x34], ax
pop eax
push 0x6d
mov word [ebp - 0x32], ax
pop eax
push 0x6a
mov word [ebp - 0x30], ax
pop eax
mov word [ebp - 0x2e], ax
push 0x7e
pop eax
mov word [ebp - 0x2c], ax
push 0x67
pop eax
mov word [ebp - 0x2a], ax
push 0x7f
pop eax
mov word [ebp - 0x28], ax
xor eax, eax
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x44]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 0x44
mov ecx, dword [ebp - 4]
and ecx, 0x80000001
jns 0x4011dc
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [ebp - 0xac], ecx
xor eax, eax
xor word [ebp + eax*2 - 0x44], 0xb
inc eax
cmp eax, 0xf
jb 0x4011f8
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xac]
push eax
push ebx
push dword [ebp - 0xc]
push 0x420
push 1
push ebx
push ebx
push dword [ebp + 8]
push ebx
push dword [ebp - 8]
push 0x416330
push 0x415eac
call esi
push eax
call edi
call eax
test eax, eax
jne 0x401273
push 0x4e20
call dword [0x413004]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xac]
push eax
push ebx
push dword [ebp - 0xc]
push 0x420
push 1
push ebx
push ebx
push dword [ebp + 8]
push ebx
push dword [ebp - 8]
push 0x416330
push 0x415eac
call esi
push eax
call edi
call eax
cmp dword [ebp - 0xc], ebx
je 0x40128c
push dword [ebp - 0xc]
push 0x416348
push 0x416318
call esi
push eax
call edi
call eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x58]
push 0x4162c4
push 0x4162d0
call esi
push eax
call edi
call eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jb 0x4012a1
add dword [ebp - 0x14], 0xc
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jb 0x40105d
push dword [ebp - 0x1c]
push 0x416360
push 0x416264
call esi
push eax
call edi
call eax
pop edi
pop esi
pop ebx
leave
ret