Function at 0x4040c0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x200
push ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0xc], 0x978145ce
push edi
mov dword [esp + 0x14], 0xc297127a
mov ecx, 0xff
mov dword [esp + 0x18], 0x4a8c61cc
mov dword [esp + 0x1c], 0xa18294f
mov dword [esp + 0x20], 0x8e032548
mov dword [esp + 0x24], 0x1485c2cb
mov dword [esp + 0x28], 0x6762f935
mov dword [esp + 0x2c], 0x9948e244
mov dword [esp + 0x30], 0x54a65509
mov dword [esp + 0x34], 0x49a35d63
mov dword [esp + 0x38], 0x43d4939
mov dword [esp + 0x3c], 0x5158e92d
mov dword [esp + 0x40], 0xf1b7546c
mov dword [esp + 0x44], 0xfb231ee0
mov dword [esp + 0x48], 0x8697448e
mov dword [esp + 0x4c], 0x8404af94
mov dword [esp + 0x50], 0x8aa361a1
mov dword [esp + 0x54], 0x3e1fdde6
mov dword [esp + 0x58], 0x76b55f7a
mov dword [esp + 0x5c], 0x2e8ecd7e
mov dword [esp + 0x60], 0x23bc1e29
mov dword [esp + 0x64], 0x4e496d7d
mov dword [esp + 0x68], 0x462ffb01
mov dword [esp + 0x6c], 0xc4713d6
mov dword [esp + 0x70], 0x7b7443cd
mov dword [esp + 0x74], 0x21592740
mov dword [esp + 0x78], 0x44cc11a8
mov dword [esp + 0x7c], 0x880dbeeb
mov dword [esp + 0x80], 0x10de438b
mov dword [esp + 0x84], 0x4ac10869
mov dword [esp + 0x88], 0x4ecc402e
mov dword [esp + 0x8c], 0x9122aa2b
mov dword [esp + 0x90], 0xe207f6b5
mov dword [esp + 0x94], 0x8a1c697e
mov dword [esp + 0x98], 0x6e86c464
mov dword [esp + 0x9c], 0x4ca97c35
mov dword [esp + 0xa0], 0x10ea80cf
mov dword [esp + 0xa4], 0xeacbf703
mov dword [esp + 0xa8], 0xe965218
mov dword [esp + 0xac], 0x28e476a8
mov dword [esp + 0xb0], 0xa9f46187
mov dword [esp + 0xb4], 0x90f65cb
mov dword [esp + 0xb8], 0xa13a1f89
mov dword [esp + 0xbc], 0xfbe291d7
mov dword [esp + 0xc0], 0xd6195a28
mov dword [esp + 0xc4], 0xaf76484
mov dword [esp + 0xc8], 0x627150e9
mov dword [esp + 0xcc], 0xde0e8d68
mov dword [esp + 0xd0], 0xc515922b
mov dword [esp + 0xd4], 0x26f08f96
mov dword [esp + 0xd8], 0xf8286388
mov dword [esp + 0xdc], 0x72f83ab
mov dword [esp + 0xe0], 0x84a070b5
mov dword [esp + 0xe4], 0xbb77de41
mov dword [esp + 0xe8], 0x5c2ea0db
mov dword [esp + 0xec], 0x4cbdbd93
mov dword [esp + 0xf0], 0x423c900f
mov dword [esp + 0xf4], 0x9ee71d6
mov dword [esp + 0xf8], 0x2a8b419a
mov dword [esp + 0xfc], 0xab82af63
mov dword [esp + 0x100], 0x4710801d
mov dword [esp + 0x104], 0xac438add
mov dword [esp + 0x108], 0x452819de
mov dword [esp + 0x10c], 0xb8762107
lea ecx, [ecx]
mov al, byte [esp + ecx + 0xf]
xor byte [esp + ecx + 0x10], al
sub ecx, 1
jne 0x404340
mov al, byte [esp + 0x10f]
xor byte [esp + 0x10], al
lea eax, [esp + 0x110]
push 0x100
push ecx
push eax
call fcn.004011c0
add esp, 0xc
xor esi, esi
xor eax, eax
mov byte [esp + eax + 0x110], al
inc eax
cmp eax, 0x100
jb 0x404372
xor ebx, ebx
mov dl, byte [esp + ebx + 0x110]
movzx eax, bl
movzx ecx, dl
movzx eax, byte [esp + eax + 0x10]
add eax, esi
add ecx, eax
movzx esi, cl
mov al, byte [esp + esi + 0x110]
mov byte [esp + ebx + 0x110], al
inc ebx
mov byte [esp + esi + 0x110], dl
cmp ebx, 0x100
jb 0x404383
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x110]
movzx edx, cl
lea eax, [ebx + edx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x110]
mov byte [esp + edi + 0x110], al
mov byte [esp + ebx + 0x110], cl
movzx eax, byte [esp + edi + 0x110]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x110]
xor byte [esi + str._nX], al
inc esi
cmp esi, 0x344600
jb 0x4043c0
pop edi
pop esi
mov dword [ebp], str._nX
pop ebp
pop ebx
add esp, 0x200
ret