Function at 0x402730
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], 0x41360e40
push edi
mov dword [esp + 0x14], 0x974b1608
mov ecx, 0xff
mov dword [esp + 0x18], 0x6bbb70d9
mov dword [esp + 0x1c], 0x89be5dae
mov dword [esp + 0x20], 0x1940bbdc
mov dword [esp + 0x24], 0xccf7bb2d
mov dword [esp + 0x28], 0x913c57f5
mov dword [esp + 0x2c], 0x7c17a505
mov dword [esp + 0x30], 0xad11b412
mov dword [esp + 0x34], 0x1baa126a
mov dword [esp + 0x38], 0x84e80926
mov dword [esp + 0x3c], 0x1f32f8db
mov dword [esp + 0x40], 0x155d9ab2
mov dword [esp + 0x44], 0x715dad14
mov dword [esp + 0x48], 0x52ff779a
mov dword [esp + 0x4c], 0x1d9d4451
mov dword [esp + 0x50], 0x3d3f31ac
mov dword [esp + 0x54], 0x7e8a85f9
mov dword [esp + 0x58], 0x3d185515
mov dword [esp + 0x5c], 0xd874a450
mov dword [esp + 0x60], 0x44788245
mov dword [esp + 0x64], 0xe0853593
mov dword [esp + 0x68], 0x4823a754
mov dword [esp + 0x6c], 0xb409e0da
mov dword [esp + 0x70], 0x67991ba9
mov dword [esp + 0x74], 0xf41b9845
mov dword [esp + 0x78], 0xf34c00a3
mov dword [esp + 0x7c], 0xc13048fb
mov dword [esp + 0x80], 0x7ed1babb
mov dword [esp + 0x84], 0xf4031283
mov dword [esp + 0x88], 0x5998a16d
mov dword [esp + 0x8c], 0x9cc1d077
mov dword [esp + 0x90], 0x52eddaa2
mov dword [esp + 0x94], 0x216a897b
mov dword [esp + 0x98], 0x4c586a
mov dword [esp + 0x9c], 0x46671dbb
mov dword [esp + 0xa0], 0xf1e9867
mov dword [esp + 0xa4], 0x1531e585
mov dword [esp + 0xa8], 0xcf923173
mov dword [esp + 0xac], 0x58f70d92
mov dword [esp + 0xb0], 0xeabee52c
mov dword [esp + 0xb4], 0x7888a5f8
mov dword [esp + 0xb8], 0xa4454eea
mov dword [esp + 0xbc], 0x7059206e
mov dword [esp + 0xc0], 0xe12be3cc
mov dword [esp + 0xc4], 0x9322249a
mov dword [esp + 0xc8], 0xc16d2d8e
mov dword [esp + 0xcc], 0xd1355ad0
mov dword [esp + 0xd0], 0x806443d1
mov dword [esp + 0xd4], 0x6b1a76f
mov dword [esp + 0xd8], 0x715c1b05
mov dword [esp + 0xdc], 0x7970a2ae
mov dword [esp + 0xe0], 0xd5fb728a
mov dword [esp + 0xe4], 0x921d1df4
mov dword [esp + 0xe8], 0x1a899133
mov dword [esp + 0xec], 0xc45a9e2c
mov dword [esp + 0xf0], 0xf02d89c4
mov dword [esp + 0xf4], 0x16b46b4e
mov dword [esp + 0xf8], 0x3a3249d1
mov dword [esp + 0xfc], 0xb78a417a
mov dword [esp + 0x100], 0xd7b011c
mov dword [esp + 0x104], 0x919d18aa
mov dword [esp + 0x108], 0xf0164c7f
mov dword [esp + 0x10c], 0x240ccf4b
lea ecx, [ecx]
mov al, byte [esp + ecx + 0xf]
xor byte [esp + ecx + 0x10], al
sub ecx, 1
jne 0x4029b0
mov al, byte [esp + 0x10f]
xor byte [esp + 0x10], al
lea eax, [esp + 0x110]
push 0x100
push ecx
push eax
call fcn.00401080
add esp, 0xc
xor esi, esi
xor eax, eax
mov byte [esp + eax + 0x110], al
inc eax
cmp eax, 0x100
jb 0x4029e2
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 0x4029f3
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, 0x347200
jb 0x402a30
pop edi
pop esi
mov dword [ebp], section..data
pop ebp
pop ebx
add esp, 0x200
ret