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], 0x7953db58
push edi
mov dword [esp + 0x14], 0xa87744e4
mov ecx, 0xff
mov dword [esp + 0x18], 0x5c826217
mov dword [esp + 0x1c], 0xf647c2b6
mov dword [esp + 0x20], 0x6bff3f90
mov dword [esp + 0x24], 0xace5d67a
mov dword [esp + 0x28], 0xb1208adc
mov dword [esp + 0x2c], 0x6e7c59ec
mov dword [esp + 0x30], 0xeffccef0
mov dword [esp + 0x34], 0xa07ca593
mov dword [esp + 0x38], 0x795f4ede
mov dword [esp + 0x3c], 0x2da89d85
mov dword [esp + 0x40], 0x9d8b0b7f
mov dword [esp + 0x44], 0xc19d7f44
mov dword [esp + 0x48], 0x207bfb4f
mov dword [esp + 0x4c], 0x3bb496dc
mov dword [esp + 0x50], 0x7c720cd1
mov dword [esp + 0x54], 0xf4e60cf5
mov dword [esp + 0x58], 0x98fc7db8
mov dword [esp + 0x5c], 0xca8a06d6
mov dword [esp + 0x60], 0x6dc3d718
mov dword [esp + 0x64], 0xed3f66f0
mov dword [esp + 0x68], 0x7e02f3fb
mov dword [esp + 0x6c], 0x4fe5e9b7
mov dword [esp + 0x70], 0x9800797f
mov dword [esp + 0x74], 0xbe0e2834
mov dword [esp + 0x78], 0x3c4ca3c9
mov dword [esp + 0x7c], 0x8ad2e2f7
mov dword [esp + 0x80], 0x7c7deecd
mov dword [esp + 0x84], 0xc498e508
mov dword [esp + 0x88], 0xa14b2607
mov dword [esp + 0x8c], 0x4bd0bd2b
mov dword [esp + 0x90], 0x66e5384a
mov dword [esp + 0x94], 0xcf265175
mov dword [esp + 0x98], 0xe39cf0c7
mov dword [esp + 0x9c], 0x9ecec802
mov dword [esp + 0xa0], 0x8741fa2c
mov dword [esp + 0xa4], 0xe3ca5f82
mov dword [esp + 0xa8], 0xe855cd9b
mov dword [esp + 0xac], 0xa751ed07
mov dword [esp + 0xb0], 0x2ebb8ffd
mov dword [esp + 0xb4], 0x62ec3782
mov dword [esp + 0xb8], 0xbbbe041d
mov dword [esp + 0xbc], 0x622e9ff0
mov dword [esp + 0xc0], 0xc394679b
mov dword [esp + 0xc4], 0xa2d226e2
mov dword [esp + 0xc8], 0x23677798
mov dword [esp + 0xcc], 0xb90224e9
mov dword [esp + 0xd0], 0x13704c1a
mov dword [esp + 0xd4], 0x307d8045
mov dword [esp + 0xd8], 0xd806d41
mov dword [esp + 0xdc], 0x768ac55e
mov dword [esp + 0xe0], 0xae07f9ff
mov dword [esp + 0xe4], 0xd8588618
mov dword [esp + 0xe8], 0x87602f9b
mov dword [esp + 0xec], 0xd774ce92
mov dword [esp + 0xf0], 0xaba9a8e5
mov dword [esp + 0xf4], 0xd6efde61
mov dword [esp + 0xf8], 0xf8d19037
mov dword [esp + 0xfc], 0xbed29e83
mov dword [esp + 0x100], 0x52c388d7
mov dword [esp + 0x104], 0x6c2c07f
mov dword [esp + 0x108], 0xb61b5088
mov dword [esp + 0x10c], 0xc3c73934
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.004021a0
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, 0x346c00
jb 0x4043c0
pop edi
pop esi
mov dword [ebp], section..data
pop ebp
pop ebx
add esp, 0x200
ret