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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x64], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x68], 0xffe4e633
mov dword [esp + 0x6c], 0x3ae2fbf1
mov dword [esp + 0x70], 0xf6fae004
mov dword [esp + 0x74], 0xeb07452e
mov dword [esp + 0x78], 0xfb0100ec
mov dword [esp + 0x7c], 0x13080009
mov dword [esp + 0x80], 0xccf11cf
mov dword [esp + 0x84], 0xf40b0ff6
mov dword [esp + 0x88], 0xa6a8a41c
mov dword [esp + 0x8c], 0x8db6
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x27
ja 0x4093be
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 + 0x68]
add eax, 0x995af6c
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xe4
mov ecx, dword [esp]
mov byte [esp + ecx + 0x68], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x28
jb 0x409390
mov dword [esp], 0xf9ccc8d2
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 6
ja 0x409421
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
add eax, 0x120f682b
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x29
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 7
jb 0x4093f0
mov dword [esp + 0x10], 0xee102425
mov dword [esp + 0x14], 0xf2f22024
mov dword [esp + 0x18], 0xf7faf025
mov dword [esp + 0x1c], 0xfaff06f3
mov dword [esp + 0x20], 0x32fff3f2
mov dword [esp + 0x24], 0x8dda7a9
mov dword [esp + 0x28], 0xd07150e
mov dword [esp + 0x2c], 0xeeac018
mov dword [esp + 0x30], 0x50103
mov dword [esp + 0x34], 0x18170115
mov dword [esp + 0x38], 0x15aac31e
mov dword [esp + 0x3c], 0xd2131713
mov dword [esp + 0x40], 0xe20ee01c
mov dword [esp + 0x44], 0xde289df7
mov dword [esp + 0x48], 0x99ff242d
mov dword [esp + 0x4c], 0x2a222c2a
mov dword [esp + 0x50], 0x2d92fa92
mov dword [esp + 0x54], 0x39333935
mov dword [esp + 0x58], 0xee373cc9
mov dword [esp + 0x5c], 0xa586
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x4f
ja 0x409528
nop
nop
nop
nop
nop
nop
nop
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 + ecx]
add edx, 0x20ea486c
add eax, 0x6c
and eax, ecx
mov ecx, edx
xor ecx, eax
add ecx, eax
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xe4
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x50
jb 0x4094e0
mov eax, dword [esp + 0xa8]
movzx ecx, byte [esp + 0x10]
mov edx, edi
test cl, cl
je 0x40954b
lea esi, [esp + 0x11]
mov edx, edi
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x409540
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40956b
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 0x409560
mov byte [edx], 0
movzx eax, byte [esp]
test al, al
je 0x40958b
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 0x409580
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xac]
mov byte [edx], 0
movzx eax, byte [esp + 0x68]
test al, al
mov dword [esp + 0x60], edi
je 0x4095bb
lea ecx, [esp + 0x69]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x4095b0
mov byte [edx], 0
mov ecx, ebx
shr ecx, 2
mov eax, ebp
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and eax, 0xfffffffc
lea esi, [edx + eax]
add eax, ebp
mov ecx, ebx
xor ecx, 0xfffffffc
mov ebp, ebx
or ebp, 3
and ebp, ecx
mov ecx, ebp
shr ecx, 1
mov ebx, eax
mov edi, esi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ebx, dword [esp + 0xb0]
test bl, 1
je 0x409606
and ebp, 0xfffffffe
movzx eax, byte [eax + ebp]
mov byte [esi + ebp], al
mov dword [esp + 0x10], 0xaaa98d8f
mov dword [esp + 0x14], 0x9e9eccf6
mov dword [esp + 0x18], 0xd699c8c8
mov dword [esp + 0x1c], 0xc0dfc3d0
mov dword [esp + 0x20], 0xd7d4c0db
mov dword [esp + 0x24], 0xa3a588c3
mov word [esp + 0x28], 0xa5a7
mov byte [esp + 0x2a], 0xb2
mov dword [esp + 0x2b], 0
mov byte [esp + 0x2f], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1f
mov esi, dword [esp + 0x60]
ja 0x40969e
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 + 0x10]
add eax, 0xee00101b
xor eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
add al, 0x79
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x20
jb 0x409670
add edx, ebx
movzx eax, byte [esp + 0x10]
test al, al
je 0x4096bb
lea ecx, [esp + 0x11]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x4096b0
mov byte [edx], 0
sub edx, esi
mov eax, dword [esp + 0x64]
add dword [eax + 0x60], edx
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret 0x10