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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov edi, dword [ebp + 8]
mov dword [esp + 0x6c], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x70], 0x9f9694c3
mov dword [esp + 0x74], 0xdc9c9be1
mov dword [esp + 0x78], 0xd89c92fa
mov dword [esp + 0x7c], 0xa3d711ec
mov dword [esp + 0x80], 0xd3d1d2a2
mov dword [esp + 0x84], 0xabaad2a9
mov dword [esp + 0x88], 0xb2efa5ef
mov dword [esp + 0x8c], 0xc2cbcfc4
mov dword [esp + 0x90], 0x182a16b2
mov word [esp + 0x94], 0x2924
mov dword [esp + 0x96], 0
mov dword [esp + 0x9a], 0
mov word [esp + 0x9e], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x2f
ja 0x409b75
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x70]
lea edx, [eax + 0x4451d8d5]
mov esi, ecx
not esi
or esi, edx
and edx, ecx
add edx, esi
neg edx
add eax, edx
add eax, 0x4451d8d4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0x2d
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x70], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x30
jb 0x409b30
mov dword [esp + 8], 0xb0a3620
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xf
ja 0x409bfe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + 0x4feb4b55]
mov esi, ecx
not esi
or esi, edx
and edx, ecx
add edx, esi
neg edx
add eax, edx
add eax, 0x4feb4b54
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, eax
xor ecx, 0xac
and eax, 0x2c
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x10
jb 0x409bb0
mov dword [esp + 0x18], 0x7c724641
mov dword [esp + 0x1c], 0x7070424a
mov dword [esp + 0x20], 0x77887241
mov dword [esp + 0x24], 0x686f688b
mov dword [esp + 0x28], 0x506f9394
mov dword [esp + 0x2c], 0x9e410735
mov dword [esp + 0x30], 0x9d679598
mov dword [esp + 0x34], 0x5c786296
mov dword [esp + 0x38], 0xaea1a1ab
mov dword [esp + 0x3c], 0xae57a159
mov dword [esp + 0x40], 0x551863a8
mov dword [esp + 0x44], 0x70b3b7ab
mov dword [esp + 0x48], 0x40bc424a
mov dword [esp + 0x4c], 0x4cba0d67
mov dword [esp + 0x50], 0x96f46b9
mov dword [esp + 0x54], 0x38c03e44
mov dword [esp + 0x58], 0x3d701474
mov dword [esp + 0x5c], 0xc933c939
mov dword [esp + 0x60], 0x1c37ce3d
mov dword [esp + 0x64], 0x4578
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x4f
ja 0x409cf8
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax + 0x12aef683]
and edx, ecx
add eax, ecx
add eax, 0x12aef683
add edx, edx
sub eax, edx
mov dword [esp], eax
mov eax, dword [esp]
mov ecx, eax
xor ecx, 0x6a
and eax, 0x6a
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x50
jb 0x409cb0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [esp + 0x18]
mov edx, edi
test cl, cl
je 0x409d1b
lea esi, [esp + 0x19]
mov edx, edi
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x409d10
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x409d3b
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x409d30
mov byte [edx], 0
movzx eax, byte [esp + 8]
test al, al
je 0x409d5b
lea ecx, [esp + 9]
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409d50
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov byte [edx], 0
movzx eax, byte [esp + 0x70]
test al, al
mov dword [esp + 0x68], edi
je 0x409d8b
lea ecx, [esp + 0x71]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409d80
mov byte [edx], 0
mov ecx, ebx
shr ecx, 2
mov eax, esi
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and eax, 0xfffffffc
mov ecx, esi
lea esi, [edx + eax]
add eax, ecx
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebx, eax
mov edi, esi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ebx, dword [ebp + 0x14]
test bl, 1
je 0x409dcd
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0x18], 0xdedfc3c1
mov dword [esp + 0x1c], 0x222e1416
mov dword [esp + 0x20], 0x122f1010
mov dword [esp + 0x24], 0x186d1d68
mov dword [esp + 0x28], 0x75741815
mov dword [esp + 0x2c], 0xe9eb3005
mov word [esp + 0x30], 0xebe9
mov byte [esp + 0x32], 0xea
mov dword [esp + 0x33], 0
mov dword [esp + 0x37], 0
mov dword [esp + 0x3b], 0
mov byte [esp + 0x3f], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x27
mov edi, dword [esp + 0x68]
ja 0x409e7c
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x18]
lea esi, [eax + 0x1e]
and esi, ecx
add eax, ecx
add esi, esi
sub eax, esi
add eax, 0x57fbf31e
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
add al, 0x2e
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x28
jb 0x409e40
add edx, ebx
movzx eax, byte [esp + 0x18]
test al, al
je 0x409e9b
lea ecx, [esp + 0x19]
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409e90
mov byte [edx], 0
sub edx, edi
mov eax, dword [esp + 0x6c]
add dword [eax + 0x60], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10