Function at 0x4098e0
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, 0xb8
mov edi, dword [ebp + 8]
mov dword [esp + 0x7c], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x80], 0x1f161463
mov dword [esp + 0x84], 0x5c1c1b01
mov dword [esp + 0x88], 0x181c127a
mov dword [esp + 0x8c], 0x317514c
mov dword [esp + 0x90], 0x13111202
mov dword [esp + 0x94], 0xb0a1209
mov dword [esp + 0x98], 0x324f054f
mov dword [esp + 0x9c], 0x222b2f24
mov dword [esp + 0xa0], 0x988a9632
mov dword [esp + 0xa4], 0x8984
mov byte [esp + 0xa8], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x28
ja 0x4099c5
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x80]
lea edx, [eax + 0xc5]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x5a612c5
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0x9d
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x80], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x29
jb 0x409980
mov dword [esp + 8], 0xb3a8acd2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x409a2a
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax - 0x71bbdb68]
and edx, ecx
add eax, ecx
add eax, 0x8e442498
add edx, edx
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0xd8
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x4099f0
mov dword [esp + 0x18], 0xe6e4d0d1
mov dword [esp + 0x1c], 0xe2e2d4c8
mov dword [esp + 0x20], 0xdf2a1cd1
mov dword [esp + 0x24], 0xda27de2b
mov dword [esp + 0x28], 0xe2d72b2a
mov dword [esp + 0x2c], 0x24f18f8d
mov dword [esp + 0x30], 0x39cf2126
mov dword [esp + 0x34], 0x36eaf43c
mov dword [esp + 0x38], 0x34313d3b
mov dword [esp + 0x3c], 0x343f3539
mov dword [esp + 0x40], 0x41faeb36
mov dword [esp + 0x44], 0x82434f4b
mov dword [esp + 0x48], 0xb246bcb8
mov dword [esp + 0x4c], 0xb644f19f
mov dword [esp + 0x50], 0xed87b049
mov dword [esp + 0x54], 0xaa525052
mov dword [esp + 0x58], 0x59e282ea
mov dword [esp + 0x5c], 0x55a35d59
mov dword [esp + 0x60], 0xb69f58a5
mov word [esp + 0x64], 0xf9de
mov dword [esp + 0x69], 0
mov dword [esp + 0x66], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x54
ja 0x409b32
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx edx, byte [esp + ecx + 0x18]
lea ecx, [eax + 0x5929df16]
mov esi, ecx
and esi, edx
xor ecx, edx
add eax, 0x16
and eax, edx
add eax, esi
sub ecx, eax
lea eax, [ecx + esi*2]
mov dword [esp], eax
mov eax, dword [esp]
add al, 0x66
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x55
jb 0x409af0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [esp + 0x18]
mov edx, edi
test cl, cl
je 0x409b5b
lea esi, [esp + 0x19]
mov edx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x409b50
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x409b7b
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 0x409b70
mov byte [edx], 0
movzx eax, byte [esp + 8]
test al, al
je 0x409b9b
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 0x409b90
mov ebx, dword [ebp + 0x10]
mov byte [edx], 0
movzx eax, byte [esp + 0x80]
test al, al
mov dword [esp + 0x78], edi
je 0x409bcb
lea ecx, [esp + 0x81]
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409bc0
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 + 0x74], eax
mov dword [esp + 0x70], esi
mov edi, esi
mov esi, dword [esp + 0x74]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, dword [ebp + 0x14]
test cl, 1
je 0x409c25
xor ebx, 1
and ebx, ecx
and ecx, 2
movzx eax, byte [eax + ebx]
mov esi, dword [esp + 0x70]
mov byte [esi + ecx], al
mov dword [esp + 0x18], 0xa4a783f9
mov dword [esp + 0x1c], 0xa8b45a58
mov dword [esp + 0x20], 0x68a7565a
mov dword [esp + 0x24], 0x52655162
mov dword [esp + 0x28], 0x797a4e6d
mov dword [esp + 0x2c], 0x9593be4d
mov word [esp + 0x30], 0x9b91
mov byte [esp + 0x32], 0xe0
mov dword [esp + 0x33], 0
mov dword [esp + 0x37], 0
mov byte [esp + 0x3b], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x23
mov edi, dword [esp + 0x78]
ja 0x409cd6
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x18]
lea esi, [eax + ecx]
add esi, 0xd755fbf
add eax, 0xd755fbf
and eax, ecx
add eax, eax
sub esi, eax
mov dword [esp + 0x80], esi
mov eax, dword [esp + 0x80]
add al, 0xc7
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x24
jb 0x409c90
add edx, dword [ebp + 0x14]
movzx eax, byte [esp + 0x18]
test al, al
je 0x409cfb
lea ecx, [esp + 0x19]
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 0x409cf0
mov byte [edx], 0
sub edx, edi
mov eax, dword [esp + 0x7c]
add dword [eax + 0x60], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10