Function at 0x402710
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], 0x2832708b
push edi
mov dword [esp + 0x14], 0x8d663527
mov ecx, 0xff
mov dword [esp + 0x18], 0x5cdeb113
mov dword [esp + 0x1c], 0x644db637
mov dword [esp + 0x20], 0x40852713
mov dword [esp + 0x24], 0xc2bf8e23
mov dword [esp + 0x28], 0x175226a
mov dword [esp + 0x2c], 0xe8b23a65
mov dword [esp + 0x30], 0xfdfe3244
mov dword [esp + 0x34], 0x7ab07341
mov dword [esp + 0x38], 0x4edf27d
mov dword [esp + 0x3c], 0xd885fdb1
mov dword [esp + 0x40], 0xdeffd181
mov dword [esp + 0x44], 0x411ca717
mov dword [esp + 0x48], 0x94aa6597
mov dword [esp + 0x4c], 0x895486fc
mov dword [esp + 0x50], 0x93f240eb
mov dword [esp + 0x54], 0xbc21d7bd
mov dword [esp + 0x58], 0xbbfb5e04
mov dword [esp + 0x5c], 0x241a1d2d
mov dword [esp + 0x60], 0xe8c239da
mov dword [esp + 0x64], 0xdc763759
mov dword [esp + 0x68], 0x1a05c97b
mov dword [esp + 0x6c], 0xd463ca7d
mov dword [esp + 0x70], 0xc7ef8c62
mov dword [esp + 0x74], 0x28608d2
mov dword [esp + 0x78], 0x44d16b1d
mov dword [esp + 0x7c], 0x201b48e7
mov dword [esp + 0x80], 0x6dd0d948
mov dword [esp + 0x84], 0xd85bb12
mov dword [esp + 0x88], 0xb7e90359
mov dword [esp + 0x8c], 0x9782a9da
mov dword [esp + 0x90], 0x6319305a
mov dword [esp + 0x94], 0x3a29b6c4
mov dword [esp + 0x98], 0xb5f80983
mov dword [esp + 0x9c], 0x9ba42bbb
mov dword [esp + 0xa0], 0x47ef16ae
mov dword [esp + 0xa4], 0x36afee7e
mov dword [esp + 0xa8], 0xe6115245
mov dword [esp + 0xac], 0xf4e535cb
mov dword [esp + 0xb0], 0x5b24e058
mov dword [esp + 0xb4], 0x3125eb1b
mov dword [esp + 0xb8], 0x7ced732b
mov dword [esp + 0xbc], 0x4e873252
mov dword [esp + 0xc0], 0x67611d12
mov dword [esp + 0xc4], 0xc039428c
mov dword [esp + 0xc8], 0xdac15c7a
mov dword [esp + 0xcc], 0x32c8254
mov dword [esp + 0xd0], 0xa77bc859
mov dword [esp + 0xd4], 0x77d605a3
mov dword [esp + 0xd8], 0x621645ee
mov dword [esp + 0xdc], 0xd86a1ed8
mov dword [esp + 0xe0], 0xb85a8c9e
mov dword [esp + 0xe4], 0xce8b2e40
mov dword [esp + 0xe8], 0x75eb7ea9
mov dword [esp + 0xec], 0xb5c39eb7
mov dword [esp + 0xf0], 0x13b46865
mov dword [esp + 0xf4], 0xc493b2bc
mov dword [esp + 0xf8], 0xf68b71c8
mov dword [esp + 0xfc], 0x70150d29
mov dword [esp + 0x100], 0x9af777a3
mov dword [esp + 0x104], 0x24034cf1
mov dword [esp + 0x108], 0x9307180d
mov dword [esp + 0x10c], 0xf3dba5f1
lea ecx, [ecx]
mov al, byte [esp + ecx + 0xf]
xor byte [esp + ecx + 0x10], al
sub ecx, 1
jne 0x402990
mov al, byte [esp + 0x10f]
xor byte [esp + 0x10], al
lea eax, [esp + 0x110]
push 0x100
push ecx
push eax
call fcn.00401a70
add esp, 0xc
xor esi, esi
xor eax, eax
mov byte [esp + eax + 0x110], al
inc eax
cmp eax, 0x100
jb 0x4029c2
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 0x4029d3
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, 0x341400
jb 0x402a10
pop edi
pop esi
mov dword [ebp], section..data
pop ebp
pop ebx
add esp, 0x200
ret