Function at 0x409920
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, 0xb0
mov edi, dword [ebp + 8]
mov dword [esp + 0x74], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x78], 0x1f1614c3
mov dword [esp + 0x7c], 0xdc1c1be1
mov dword [esp + 0x80], 0xd81c12fa
mov dword [esp + 0x84], 0x23d791ec
mov dword [esp + 0x88], 0xd3d1d222
mov dword [esp + 0x8c], 0x2b2ad229
mov dword [esp + 0x90], 0x32ef25ef
mov dword [esp + 0x94], 0xc2cbcfc4
mov dword [esp + 0x98], 0x98aa9632
mov word [esp + 0x9c], 0xa9a4
mov dword [esp + 0x9e], 0
mov byte [esp + 0xa2], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x2a
ja 0x409a0a
nop
nop
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 + 0x78]
lea edx, [eax + 0x95]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x292aff95
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xed
mov ecx, dword [esp]
mov byte [esp + ecx + 0x78], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x2b
jb 0x4099d0
mov dword [esp], 0x839296a8
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 7
ja 0x409a72
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
lea edx, [eax - 0x3bc911bf]
lea esi, [eax + 0x41]
and esi, ecx
and edx, esi
add eax, ecx
add eax, 0xc436ee41
add edx, esi
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x39
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 8
jb 0x409a30
mov dword [esp + 0x10], 0xfcf2a6a1
mov dword [esp + 0x14], 0xf0f0a2aa
mov dword [esp + 0x18], 0xf7e8f2a1
mov dword [esp + 0x1c], 0xc8cfc8eb
mov dword [esp + 0x20], 0x90cfd3d4
mov dword [esp + 0x24], 0xdee1a7b5
mov dword [esp + 0x28], 0xddc7d5d8
mov dword [esp + 0x2c], 0xdcf882d6
mov dword [esp + 0x30], 0xcec1c1cb
mov dword [esp + 0x34], 0xced7c1d9
mov dword [esp + 0x38], 0xd59883c8
mov dword [esp + 0x3c], 0xf0b3b7cb
mov dword [esp + 0x40], 0xa0bca2aa
mov dword [esp + 0x44], 0xacbaed87
mov dword [esp + 0x48], 0xe98fa6b9
mov dword [esp + 0x4c], 0xb8a0bea4
mov dword [esp + 0x50], 0xbdf094f4
mov dword [esp + 0x54], 0xa9b3a9b9
mov dword [esp + 0x58], 0x9cb7aebd
mov word [esp + 0x5c], 0xe5f8
mov word [esp + 0x66], 0
mov dword [esp + 0x62], 0
mov dword [esp + 0x5e], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x57
ja 0x409b8c
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax - 0x620a186d]
add eax, 0x93
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
mov ecx, eax
or ecx, 0xfa
and eax, 0xfa
add eax, ecx
inc al
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x58
jb 0x409b40
mov eax, dword [ebp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, edi
test cl, cl
je 0x409bab
lea esi, [esp + 0x11]
mov edx, edi
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x409ba0
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x409bcb
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 0x409bc0
mov byte [edx], 0
movzx eax, byte [esp]
test al, al
je 0x409beb
lea ecx, [esp + 1]
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409be0
mov ebx, dword [ebp + 0x10]
mov byte [edx], 0
movzx eax, byte [esp + 0x78]
test al, al
mov dword [esp + 0x70], edi
je 0x409c1b
lea ecx, [esp + 0x79]
nop
nop
nop
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 0x409c10
mov byte [edx], 0
mov esi, dword [ebp + 0x14]
mov ecx, esi
shr ecx, 2
mov eax, ebx
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, esi
mov eax, esi
and eax, 0xfffffffc
lea esi, [edx + eax]
add eax, ebx
mov ebx, ecx
and ebx, 3
mov ecx, ebx
shr ecx, 1
mov edi, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], esi
mov edi, esi
mov esi, dword [esp + 0x6c]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, dword [ebp + 0x14]
test cl, 1
je 0x409c7f
xor ebx, 1
mov edi, dword [ebp + 0x14]
mov ecx, edi
or ecx, 2
and ecx, ebx
mov ebx, edi
and ebx, 2
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x68]
mov byte [ecx + ebx], al
mov dword [esp + 0x10], 0xf4f71b11
mov dword [esp + 0x14], 0x101442c0
mov dword [esp + 0x18], 0x40174642
mov dword [esp + 0x1c], 0x4a45494a
mov dword [esp + 0x20], 0x41424e4d
mov dword [esp + 0x24], 0xf5fb1e4d
mov word [esp + 0x28], 0xf3f9
mov byte [esp + 0x2a], 0xc8
mov dword [esp + 0x2b], 0
mov dword [esp + 0x2f], 0
mov byte [esp + 0x33], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x23
mov edi, dword [esp + 0x70]
ja 0x409d35
nop
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 + 0x10]
lea esi, [eax + 0x55bcd2fb]
and esi, ecx
add eax, ecx
add eax, 0x55bcd2fb
add esi, esi
sub eax, esi
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x78]
mov ecx, eax
xor ecx, 0x22
and eax, 0x22
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x24
jb 0x409cf0
add edx, dword [ebp + 0x14]
movzx eax, byte [esp + 0x10]
test al, al
je 0x409d5b
lea ecx, [esp + 0x11]
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 0x409d50
mov byte [edx], 0
sub edx, edi
mov eax, dword [esp + 0x74]
add dword [eax + 0x60], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10