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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x88
mov dword [esp + 4], 0x32eaa6a9
mov dword [esp + 8], 0xded8dce0
lea ebp, [esp + 0xc]
mov byte [esp + 0xc], 0x70
mov dword [esp + 0xd], 0
mov byte [esp + 0x11], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x3e
xor cl, byte [esp + eax + 4]
add cl, 0xca
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 0xe
jne 0x40ee10
lea eax, [esp + 0x7f]
lea esi, [esp + 4]
mov ebx, esi
mov edi, eax
mov ecx, 2
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esp + 0x87]
xor ebx, ebx
xor ecx, ecx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
movzx ecx, byte [esp + 0xc]
mov byte [esp + 0x87], cl
mov dword [esp + 4], 0xe37de1a3
mov dword [esp + 8], 0xe772e57a
mov dword [esp + 0xc], 0xdb44d97d
mov dword [esp + 0x10], 0xdf83dd48
mov dword [esp + 0x14], 0xd35bd164
mov dword [esp + 0x18], 0xd773d544
mov dword [esp + 0x1c], 0xcbaac982
mov dword [esp + 0x20], 0xcf5ecd6d
mov dword [esp + 0x24], 0xc35ec150
mov dword [esp + 0x28], 0xc765c55d
mov dword [esp + 0x2c], 0x3bae3999
mov dword [esp + 0x30], 0x3fa13da5
mov dword [esp + 0x34], 0x336d31ae
mov dword [esp + 0x38], 0x376b35bc
mov dword [esp + 0x3c], 0x2bbd29bf
mov dword [esp + 0x40], 0x2f732dbb
mov dword [esp + 0x44], 0x23bd2186
mov dword [esp + 0x48], 0x27bb25b6
mov dword [esp + 0x4c], 0x1b8f1945
mov dword [esp + 0x50], 0x1f821d8e
mov dword [esp + 0x54], 0x138c11b5
mov dword [esp + 0x58], 0x178915b7
mov dword [esp + 0x5c], 0xbaf09ac
mov dword [esp + 0x60], 0xf730da8
mov dword [esp + 0x64], 0x302017a
mov word [esp + 0x68], 0
mov cl, 0xa7
nop
nop
nop
nop
mov ch, byte [esp + ebx + 4]
xor ch, cl
mov dl, 0x47
sub dl, ch
mov byte [esp + ebx + 4], dl
inc ebx
dec cl
cmp ebx, 0x66
jne 0x40ef30
mov dword [esp + 0x70], 0x3e3012f
mov dword [esp + 0x74], 0x7ef05f4
mov dword [esp + 0x78], 0x908
xor ecx, ecx
mov edx, ecx
or dl, 0x40
xor dl, byte [esp + ecx + 0x70]
add dl, 0xc0
mov byte [esp + ecx + 0x70], dl
mov edx, ecx
xor edx, 1
and ecx, 1
lea ecx, [edx + ecx*2]
cmp ecx, 0xc
jb 0x40ef60
mov ecx, esp
lea edx, [esp + 0x70]
push 0
push ecx
push 8
push eax
push esi
push edx
push dword [esp + 0xb4]
call fcn.0040fba0
add esp, 0x1c
test al, al
je 0x40f0c4
mov word [esp + 4], 0x1215
mov byte [esp + 6], 0xe6
mov word [esp + 7], 0
mov byte [esp + 9], 0
mov eax, 0x56
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esi]
lea edx, [eax - 0x76fa5b00]
or edx, ecx
not edx
and ecx, eax
or ecx, edx
mov edi, 0x52e3c54d
sub edi, ecx
mov edx, edi
not edx
or edi, 1
add edi, ecx
add edi, 0xad1c3ab3
or ecx, 1
add ecx, 0xad1c3ab2
or edx, 1
and edx, ecx
mov ecx, edi
and ecx, edx
xor edx, edi
lea ecx, [edx + ecx*2]
mov byte [esi], cl
inc esi
dec eax
cmp eax, 0x50
jne 0x40efd0
xor ecx, ecx
mov eax, dword [esp]
nop
nop
nop
nop
movzx edx, byte [eax + ecx]
mov dh, byte [esp + ecx + 4]
test dl, dl
je 0x40f031
inc ecx
cmp dl, dh
je 0x40f020
mov bl, 1
cmp dl, dh
je 0x40f261
mov dword [esp + 4], 0xc5d7d0c1
mov dword [esp + 8], 0x45d4d6df
mov word [esp + 0xc], 0
mov ecx, 0x7c103ff3
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x7c103fef]
mov ebx, edx
and ebx, ecx
add bl, bl
sub dl, bl
movzx edx, dl
add edx, ecx
add dl, 0x41
mov byte [esp + ecx - 0x7c103fef], dl
inc ecx
cmp ecx, 0x7c103ffd
jne 0x40f060
movzx ebx, byte [esp + 4]
mov ecx, eax
test bl, bl
je 0x40f0cb
lea edx, [esp + 4]
mov esi, edx
mov edi, eax
mov ecx, eax
jmp 0x40f0a7
movzx ebx, byte [esi]
test bl, bl
je 0x40f0cb
mov bh, byte [edi]
test bh, bh
je 0x40f25f
inc edi
inc esi
lea ebp, [ecx + 1]
cmp bh, bl
je 0x40f0be
mov ecx, ebp
mov edi, ebp
je 0x40f0a0
mov esi, edx
jmp 0x40f0a0
xor ebx, ebx
jmp 0x40f26a
test ecx, ecx
je 0x40f25f
mov dword [esp + 4], 0xb6a1aca2
mov dword [esp + 8], 0xa1b1716f
mov dword [esp + 0xc], 0x7974baa5
mov dword [esp + 0x10], 0xaab6b8ae
mov dword [esp + 0x14], 0x617c60bb
mov byte [esp + 0x18], 0
mov ecx, 0x92ff170d
mov edx, 0x6d00e8f2
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x6d00e8f7]
mov ebx, ecx
xor ebx, esi
or ebx, edx
mov edi, ebx
not edi
and ebx, 2
mov ebp, edi
and ebp, 0x3d
imul ebp, ebx
mov ebx, edi
and ebx, 2
or edi, 2
imul edi, ebx
add edi, ebp
mov ebx, edi
not ebx
and ebx, ecx
and edi, edx
sub ebx, edi
add ebx, esi
mov esi, ebx
and esi, 1
xor ebx, 1
lea ebx, [ebx + esi*2]
add bl, 0xbe
mov byte [esp + ecx + 0x6d00e8f7], bl
inc ecx
dec edx
cmp ecx, 0x92ff1722
jne 0x40f110
movzx ebx, byte [esp + 4]
mov ebp, eax
test bl, bl
je 0x40f1a4
lea edx, [esp + 4]
mov esi, edx
mov edi, eax
mov ebp, eax
jmp 0x40f187
movzx ebx, byte [esi]
test bl, bl
je 0x40f1a4
mov bh, byte [edi]
test bh, bh
je 0x40f25f
inc edi
inc esi
lea ecx, [ebp + 1]
cmp bh, bl
je 0x40f19e
mov ebp, ecx
mov edi, ecx
je 0x40f180
mov esi, edx
jmp 0x40f180
xor edx, edx
test ebp, ebp
je 0x40f25f
mov word [esp + 4], 0x4166
mov byte [esp + 6], 0x86
mov dword [esp + 7], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, edx
and esi, 2
mov ebx, ecx
xor ebx, 0xe1
add ebx, esi
xor bl, byte [esp + ecx + 4]
add bl, 0x9b
mov byte [esp + ecx + 4], bl
inc ecx
add edx, 2
cmp ecx, 7
jne 0x40f1d0
add ebp, 0x13
movzx ebx, byte [esp + 4]
test bl, bl
je 0x40f231
lea esi, [esp + 4]
mov edi, esi
mov edx, ebp
mov dword [esp + 0x6c], ebp
jmp 0x40f217
movzx ebx, byte [edi]
test bl, bl
je 0x40f235
mov bh, byte [ebp]
test bh, bh
je 0x40f25f
inc ebp
inc edi
lea ecx, [edx + 1]
cmp bh, bl
je 0x40f22b
mov edx, ecx
mov ebp, ecx
je 0x40f210
mov edi, esi
jmp 0x40f210
mov edx, ebp
jmp 0x40f23d
test edx, edx
mov ebp, dword [esp + 0x6c]
je 0x40f25f
mov byte [0x450934], 1
push edx
push ebp
push 0x100
push 0x450936
call fcn.0040eb60
add esp, 0x10
mov eax, dword [esp]
mov bl, 1
jmp 0x40f261
xor ebx, ebx
push eax
call fcn.0043e170
add esp, 4
mov eax, ebx
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret