Function at 0x41f050
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, 0x110
mov dword [esp + 8], 0xba8154d
mov dword [esp + 0xc], 0xfad099b
mov dword [esp + 0x10], 0x3900da9
mov dword [esp + 0x14], 0x7900145
mov dword [esp + 0x18], 0x7b400596
mov dword [esp + 0x1c], 0x7fec79dd
mov dword [esp + 0x20], 0x73277dd9
lea eax, [esp + 0x24]
mov word [esp + 0x24], 0x7172
mov dword [esp + 0x26], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x21
ja 0x41f125
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x8c]
movzx edx, byte [esp + edx + 8]
mov esi, ecx
and esi, 0x1a64d5ad
xor ecx, 0x1a64d5ad
lea ecx, [ecx + esi*2]
xor ecx, edx
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0xc0]
add cl, 0x45
mov edx, dword [esp + 0x8c]
mov byte [esp + edx + 8], cl
inc dword [esp + 0x8c]
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x22
jb 0x41f0d0
lea esi, [esp + 0x8c]
lea edx, [esp + 8]
mov ecx, 7
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xa8]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x78]
push edi
push 0
push 0
push 0xe
push esi
push 0
call dword [0x449a08]
mov ebx, dword [esp + 0x78]
test ebx, ebx
jns 0x41f171
mov eax, 0xffffffff
jmp 0x41f174
lea eax, [ebx + ebx]
push eax
call fcn.00408da0
add esp, 4
push edi
push ebx
mov ebx, eax
push eax
push 0xe
push esi
push 0
call dword [0x449a08]
mov dword [esp + 8], 0xbb48b94a
mov dword [esp + 0xc], 0xbf59bd59
mov dword [esp + 0x10], 0xa343a153
mov dword [esp + 0x14], 0xa743a54b
mov dword [esp + 0x18], 0xaba8a933
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x1f], 0
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x60]
cmp ecx, 0x1a
ja 0x41f228
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x60]
movzx edx, byte [esp + edx + 8]
lea esi, [ecx + edx]
add esi, 0xa84787e7
add ecx, 0xa84787e7
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0xc0], esi
mov ecx, dword [esp + 0xc0]
add cl, 0xaf
mov edx, dword [esp + 0x60]
mov byte [esp + edx + 8], cl
inc dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
cmp ecx, 0x1b
jb 0x41f1e0
lea edi, [esp + 0xac]
lea edx, [esp + 8]
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xc0]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x78]
add eax, 0xa
mov ecx, eax
xor ecx, 0xfffffffe
and eax, 0xfffffffe
lea edx, [ecx + eax*2]
inc edx
test edx, edx
jns 0x41f26a
mov eax, 0xffffffff
jmp 0x41f272
lea eax, [ecx + eax*2]
add eax, eax
add eax, 2
push eax
call fcn.00408da0
add esp, 4
mov edi, eax
movzx ecx, word [ebx]
test cx, cx
je 0x41f2a1
lea edx, [ebx + 2]
mov eax, edi
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41f290
mov word [eax], 0
movzx ecx, word [esp + 0xac]
test cx, cx
je 0x41f2d1
lea edx, [esp + 0xae]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41f2c0
mov esi, dword [ebp + 8]
mov word [eax], 0
lea eax, [esp + 0x88]
push eax
push edi
call fcn.0043d440
add esp, 8
not eax
shr eax, 0x1f
mov dword [esp + 0x80], ebx
jmp dword [eax*4 + 0x444f8c]