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], 0xd7706e6c
push edi
mov dword [esp + 0x14], 0xe10555b7
mov ecx, 0xff
mov dword [esp + 0x18], 0xb7eb64d0
mov dword [esp + 0x1c], 0x9a5a048b
mov dword [esp + 0x20], 0x5e68b56b
mov dword [esp + 0x24], 0x9783ca3e
mov dword [esp + 0x28], 0x7696c01b
mov dword [esp + 0x2c], 0xf4d2aa66
mov dword [esp + 0x30], 0xbefc6d11
mov dword [esp + 0x34], 0x2e236a0f
mov dword [esp + 0x38], 0xbc571576
mov dword [esp + 0x3c], 0xa50fe685
mov dword [esp + 0x40], 0xb559326e
mov dword [esp + 0x44], 0x79c2d736
mov dword [esp + 0x48], 0x5991d5fb
mov dword [esp + 0x4c], 0x4aece0ef
mov dword [esp + 0x50], 0x6f07d652
mov dword [esp + 0x54], 0x87be4cfd
mov dword [esp + 0x58], 0x3c94bd0c
mov dword [esp + 0x5c], 0x61697cc4
mov dword [esp + 0x60], 0x62ea1170
mov dword [esp + 0x64], 0xac4ac0ea
mov dword [esp + 0x68], 0x1c38f1a1
mov dword [esp + 0x6c], 0x62f018b1
mov dword [esp + 0x70], 0x94152911
mov dword [esp + 0x74], 0x5d5dd1f6
mov dword [esp + 0x78], 0x56dc6614
mov dword [esp + 0x7c], 0x2f8d8ff2
mov dword [esp + 0x80], 0xcfd077c2
mov dword [esp + 0x84], 0x10128724
mov dword [esp + 0x88], 0x87773245
mov dword [esp + 0x8c], 0xb6d7d269
mov dword [esp + 0x90], 0x94dbc34b
mov dword [esp + 0x94], 0x708da4db
mov dword [esp + 0x98], 0x7823dd
mov dword [esp + 0x9c], 0xf5e20f93
mov dword [esp + 0xa0], 0xb8ac0fdf
mov dword [esp + 0xa4], 0x23ed7d75
mov dword [esp + 0xa8], 0xeefd4d03
mov dword [esp + 0xac], 0xa3236529
mov dword [esp + 0xb0], 0x7762d30f
mov dword [esp + 0xb4], 0x79633961
mov dword [esp + 0xb8], 0xa7aa0216
mov dword [esp + 0xbc], 0xf0e207f3
mov dword [esp + 0xc0], 0x13d131a9
mov dword [esp + 0xc4], 0xbaeac2f6
mov dword [esp + 0xc8], 0xd25b6a2e
mov dword [esp + 0xcc], 0xb8a3da0e
mov dword [esp + 0xd0], 0x6fad436e
mov dword [esp + 0xd4], 0x54216d49
mov dword [esp + 0xd8], 0xcb49994f
mov dword [esp + 0xdc], 0x919d327a
mov dword [esp + 0xe0], 0xe76317c
mov dword [esp + 0xe4], 0xec79e22c
mov dword [esp + 0xe8], 0x94b99240
mov dword [esp + 0xec], 0x1b04737c
mov dword [esp + 0xf0], 0xa2484f1c
mov dword [esp + 0xf4], 0x2c02e9d6
mov dword [esp + 0xf8], 0x82aa5dcc
mov dword [esp + 0xfc], 0x477875c6
mov dword [esp + 0x100], 0x1981dbda
mov dword [esp + 0x104], 0x4decb871
mov dword [esp + 0x108], 0x7cee9c14
mov dword [esp + 0x10c], 0x9c9afc3a
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.00404090
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 + section..data], al
inc esi
cmp esi, 0x345800
jb 0x4043c0
pop edi
pop esi
mov dword [ebp], section..data
pop ebp
pop ebx
add esp, 0x200
ret