Function at 0x5e0fc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x224
push ebx
push ebp
push esi
push edi
xor edx, edx
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xed]
mov byte [esp + 0xec], dl
mov byte [esp + 0x9c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x9d]
mov byte [esp + 0x4c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0xc4], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 9
xor eax, eax
lea edi, [esp + 0xc5]
mov byte [esp + 0x114], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x24], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x74], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x75]
mov dword [esp + 0x13c], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x140]
mov ebx, dword [esp + 0x248]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x238]
mov ecx, 0x3e
mov edi, ebx
mov dword [esp + 0x10], edx
mov ebp, dword [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov esi, dword [ebp + 0x3c]
mov dword [esp + 0x20], edx
add esi, ebp
rep movsd dword es:[edi], dword [esi]
xor edi, edi
cmp word [ebx + 6], dx
jbe 0x5e1137
mov edx, dword [ebp + 0x3c]
mov eax, edi
and eax, 0xffff
push str..rdata
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
lea esi, [eax + ebp + 0xf8]
push esi
call fcn.005ca2e0
add esp, 8
test eax, eax
jne 0x5e10ee
mov dword [esp + 0x1c], esi
push str..edata
push esi
call fcn.005ca2e0
add esp, 8
test eax, eax
jne 0x5e1104
mov dword [esp + 0x14], esi
push str..rsrc
push esi
call fcn.005ca2e0
add esp, 8
test eax, eax
jne 0x5e111a
mov dword [esp + 0x18], esi
push str..reloc
push esi
call fcn.005ca2e0
add esp, 8
test eax, eax
jne 0x5e1130
mov dword [esp + 0x20], esi
inc edi
cmp di, word [ebx + 6]
jb 0x5e10c1
mov ecx, 0x3e
mov esi, ebx
lea edi, [esp + 0x13c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x238]
mov eax, dword [ecx + 4]
test al, 2
je 0x5e1170
xor ecx, ecx
mov dword [esp + 0x170], 0x400000
mov dword [esp + 0x164], ecx
mov dword [esp + 0x18c], ecx
mov ecx, dword [esp + 0x240]
test ecx, ecx
je 0x5e1183
mov dword [esp + 0x10], 0xa
mov esi, dword [esp + 0x23c]
test al, 1
je 0x5e11bc
test ebx, ebx
je 0x5e11bc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x9c]
push 0xffff0001
push edx
push eax
push esi
lea ecx, [esp + 0x14c]
push 0xf8
push ecx
push 0
call fcn.005e1340
add esp, 0x1c
mov edx, dword [esp + 0x238]
test byte [edx + 4], 0x10
je 0x5e11f0
test ebx, ebx
je 0x5e11f0
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x1c]
lea eax, [esp + 0x4c]
push 0xffff0001
push eax
mov eax, dword [ebx + 0x2c]
push ecx
push esi
add eax, ebp
push edx
push eax
push ebp
call fcn.005e1340
add esp, 0x1c
mov ecx, dword [esp + 0x238]
mov eax, dword [ecx + 4]
test ah, 1
je 0x5e122d
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5e122d
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc4]
push 0xffff0001
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push ecx
push esi
add eax, ebp
push edx
push eax
push ebp
call fcn.005e1340
add esp, 0x1c
mov ecx, dword [esp + 0x238]
mov eax, dword [ecx + 4]
test ah, 0x10
je 0x5e126a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5e126a
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x114]
push 0xffff0001
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push ecx
push esi
add eax, ebp
push edx
push eax
push ebp
call fcn.005e1340
add esp, 0x1c
mov ecx, dword [esp + 0x238]
test dword [ecx + 4], 0x10000
je 0x5e12a5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5e12a5
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push 0xffff0001
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push ecx
push esi
add eax, ebp
push edx
push eax
push ebp
call fcn.005e1340
add esp, 0x1c
mov ecx, dword [esp + 0x238]
test dword [ecx + 4], 0x100000
je 0x5e12e0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5e12e0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x74]
push 0xffff0001
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push ecx
push esi
add eax, ebp
push edx
push eax
push ebp
call fcn.005e1340
add esp, 0x1c
xor eax, eax
mov cl, byte [esp + eax + 0x74]
mov bl, byte [esp + eax + 0x24]
mov dl, byte [esp + eax + 0x114]
xor cl, bl
mov bl, byte [esp + eax + 0xc4]
xor cl, dl
mov dl, byte [esp + eax + 0x4c]
xor cl, bl
mov bl, byte [esp + eax + 0x9c]
xor cl, dl
xor cl, bl
mov byte [esp + eax + 0xec], cl
inc eax
cmp eax, 0x28
jl 0x5e12e2
mov edi, dword [esp + 0x244]
mov ecx, 0xa
lea esi, [esp + 0xec]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret