Function at 0x401fc0
Capabilities:
Check os version
Encode data using xor
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x412dbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x830
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x498]
call fcn.00401000
mov ecx, 8
mov esi, str.WDLOGEWA3498SFKLD02KSD823LD0F3LS
lea edi, [esp + 0x55c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 8
mov esi, str.ABCDEFGHJKLMNPQRSTUVWXYZ23456789
lea edi, [esp + 0x454]
mov dword [esp + 0x848], eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xf
mov esi, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
lea edi, [esp + 0x580]
mov dword [esp + 0x14], eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x18], 0x77073096
mov dword [esp + 0x1c], 0xee0e612c
mov dword [esp + 0x20], 0x990951ba
mov dword [esp + 0x24], 0x76dc419
mov dword [esp + 0x28], 0x706af48f
mov dword [esp + 0x2c], 0xe963a535
mov dword [esp + 0x30], 0x9e6495a3
mov dword [esp + 0x34], 0xedb8832
mov dword [esp + 0x38], 0x79dcb8a4
mov dword [esp + 0x3c], 0xe0d5e91e
mov dword [esp + 0x40], 0x97d2d988
mov dword [esp + 0x44], 0x9b64c2b
mov dword [esp + 0x48], 0x7eb17cbd
mov dword [esp + 0x4c], 0xe7b82d07
mov dword [esp + 0x50], 0x90bf1d91
mov dword [esp + 0x54], 0x1db71064
mov dword [esp + 0x58], 0x6ab020f2
mov dword [esp + 0x5c], 0xf3b97148
mov dword [esp + 0x60], 0x84be41de
mov dword [esp + 0x64], 0x1adad47d
mov dword [esp + 0x68], 0x6ddde4eb
mov dword [esp + 0x6c], 0xf4d4b551
mov dword [esp + 0x70], 0x83d385c7
mov dword [esp + 0x74], 0x136c9856
mov dword [esp + 0x78], 0x646ba8c0
mov dword [esp + 0x7c], 0xfd62f97a
mov dword [esp + 0x80], 0x8a65c9ec
mov dword [esp + 0x84], 0x14015c4f
mov dword [esp + 0x88], 0x63066cd9
mov dword [esp + 0x8c], 0xfa0f3d63
mov dword [esp + 0x90], 0x8d080df5
mov dword [esp + 0x94], 0x3b6e20c8
mov dword [esp + 0x98], 0x4c69105e
mov dword [esp + 0x9c], 0xd56041e4
mov dword [esp + 0xa0], 0xa2677172
mov dword [esp + 0xa4], 0x3c03e4d1
mov dword [esp + 0xa8], 0x4b04d447
mov dword [esp + 0xac], 0xd20d85fd
mov dword [esp + 0xb0], 0xa50ab56b
mov dword [esp + 0xb4], 0x35b5a8fa
mov dword [esp + 0xb8], 0x42b2986c
mov dword [esp + 0xbc], 0xdbbbc9d6
mov dword [esp + 0xc0], 0xacbcf940
mov dword [esp + 0xc4], 0x32d86ce3
mov dword [esp + 0xc8], 0x45df5c75
mov dword [esp + 0xcc], 0xdcd60dcf
mov dword [esp + 0xd0], 0xabd13d59
mov dword [esp + 0xd4], 0x26d930ac
mov dword [esp + 0xd8], 0x51de003a
mov dword [esp + 0xdc], 0xc8d75180
mov dword [esp + 0xe0], 0xbfd06116
mov dword [esp + 0xe4], 0x21b4f4b5
mov dword [esp + 0xe8], 0x56b3c423
mov dword [esp + 0xec], 0xcfba9599
mov dword [esp + 0xf0], 0xb8bda50f
mov dword [esp + 0xf4], 0x2802b89e
mov dword [esp + 0xf8], 0x5f058808
mov dword [esp + 0xfc], 0xc60cd9b2
mov dword [esp + 0x100], 0xb10be924
mov dword [esp + 0x104], 0x2f6f7c87
mov dword [esp + 0x108], 0x58684c11
mov dword [esp + 0x10c], 0xc1611dab
mov dword [esp + 0x110], 0xb6662d3d
mov dword [esp + 0x114], 0x76dc4190
mov dword [esp + 0x118], 0x1db7106
mov dword [esp + 0x11c], 0x98d220bc
mov dword [esp + 0x120], 0xefd5102a
mov dword [esp + 0x124], 0x71b18589
mov dword [esp + 0x128], 0x6b6b51f
mov dword [esp + 0x12c], 0x9fbfe4a5
mov dword [esp + 0x130], 0xe8b8d433
mov dword [esp + 0x134], 0x7807c9a2
mov dword [esp + 0x138], 0xf00f934
mov dword [esp + 0x13c], 0x9609a88e
mov dword [esp + 0x140], 0xe10e9818
mov dword [esp + 0x144], 0x7f6a0dbb
mov dword [esp + 0x148], 0x86d3d2d
mov dword [esp + 0x14c], 0x91646c97
mov dword [esp + 0x150], 0xe6635c01
mov dword [esp + 0x154], 0x6b6b51f4
mov dword [esp + 0x158], 0x1c6c6162
mov dword [esp + 0x15c], 0x856530d8
mov dword [esp + 0x160], 0xf262004e
mov dword [esp + 0x164], 0x6c0695ed
mov dword [esp + 0x168], 0x1b01a57b
mov dword [esp + 0x16c], 0x8208f4c1
mov dword [esp + 0x170], 0xf50fc457
mov dword [esp + 0x174], 0x65b0d9c6
mov dword [esp + 0x178], 0x12b7e950
mov dword [esp + 0x17c], 0x8bbeb8ea
mov dword [esp + 0x180], 0xfcb9887c
mov dword [esp + 0x184], 0x62dd1ddf
mov dword [esp + 0x188], 0x15da2d49
mov dword [esp + 0x18c], 0x8cd37cf3
mov dword [esp + 0x190], 0xfbd44c65
mov dword [esp + 0x194], 0x4db26158
mov dword [esp + 0x198], 0x3ab551ce
mov dword [esp + 0x19c], 0xa3bc0074
mov dword [esp + 0x1a0], 0xd4bb30e2
mov dword [esp + 0x1a4], 0x4adfa541
mov dword [esp + 0x1a8], 0x3dd895d7
mov dword [esp + 0x1ac], 0xa4d1c46d
mov dword [esp + 0x1b0], 0xd3d6f4fb
mov dword [esp + 0x1b4], 0x4369e96a
mov dword [esp + 0x1b8], 0x346ed9fc
mov dword [esp + 0x1bc], 0xad678846
mov dword [esp + 0x1c0], 0xda60b8d0
mov dword [esp + 0x1c4], 0x44042d73
mov dword [esp + 0x1c8], 0x33031de5
mov dword [esp + 0x1cc], 0xaa0a4c5f
mov dword [esp + 0x1d0], 0xdd0d7cc9
mov dword [esp + 0x1d4], 0x5005713c
mov dword [esp + 0x1d8], 0x270241aa
mov dword [esp + 0x1dc], 0xbe0b1010
mov dword [esp + 0x1e0], 0xc90c2086
mov dword [esp + 0x1e4], 0x5768b525
mov dword [esp + 0x1e8], 0x206f85b3
mov dword [esp + 0x1ec], 0xb966d409
mov dword [esp + 0x1f0], 0xce61e49f
mov dword [esp + 0x1f4], 0x5edef90e
mov dword [esp + 0x1f8], 0x29d9c998
mov dword [esp + 0x1fc], 0xb0d09822
mov dword [esp + 0x200], 0xc7d7a8b4
mov dword [esp + 0x204], 0x59b33d17
mov dword [esp + 0x208], 0x2eb40d81
mov dword [esp + 0x20c], 0xb7bd5c3b
mov dword [esp + 0x210], 0xc0ba6cad
mov dword [esp + 0x214], 0xedb88320
mov dword [esp + 0x218], 0x9abfb3b6
mov dword [esp + 0x21c], 0x3b6e20c
mov dword [esp + 0x220], 0x74b1d29a
mov dword [esp + 0x224], 0xead54739
mov dword [esp + 0x228], 0x9dd277af
mov dword [esp + 0x22c], 0x4db2615
mov dword [esp + 0x230], 0x73dc1683
mov dword [esp + 0x234], 0xe3630b12
mov dword [esp + 0x238], 0x94643b84
mov dword [esp + 0x23c], 0xd6d6a3e
mov dword [esp + 0x240], 0x7a6a5aa8
mov dword [esp + 0x244], 0xe40ecf0b
mov dword [esp + 0x248], 0x9309ff9d
mov dword [esp + 0x24c], 0xa00ae27
mov dword [esp + 0x250], 0x7d079eb1
mov dword [esp + 0x254], 0xf00f9344
mov dword [esp + 0x258], 0x8708a3d2
mov dword [esp + 0x25c], 0x1e01f268
mov dword [esp + 0x260], 0x6906c2fe
mov dword [esp + 0x264], 0xf762575d
mov dword [esp + 0x268], 0x806567cb
mov dword [esp + 0x26c], 0x196c3671
mov dword [esp + 0x270], 0x6e6b06e7
mov dword [esp + 0x274], 0xfed41b76
mov dword [esp + 0x278], 0x89d32be0
mov dword [esp + 0x27c], 0x10da7a5a
mov dword [esp + 0x280], 0x67dd4acc
mov dword [esp + 0x284], 0xf9b9df6f
mov dword [esp + 0x288], 0x8ebeeff9
mov dword [esp + 0x28c], 0x17b7be43
mov dword [esp + 0x290], 0x60b08ed5
mov dword [esp + 0x294], 0xd6d6a3e8
mov dword [esp + 0x298], 0xa1d1937e
mov dword [esp + 0x29c], 0x38d8c2c4
mov dword [esp + 0x2a0], 0x4fdff252
mov dword [esp + 0x2a4], 0xd1bb67f1
mov dword [esp + 0x2a8], 0xa6bc5767
mov dword [esp + 0x2ac], 0x3fb506dd
mov dword [esp + 0x2b0], 0x48b2364b
mov dword [esp + 0x2b4], 0xd80d2bda
mov dword [esp + 0x2b8], 0xaf0a1b4c
mov dword [esp + 0x2bc], 0x36034af6
mov dword [esp + 0x2c0], 0x41047a60
mov dword [esp + 0x2c4], 0xdf60efc3
mov dword [esp + 0x2c8], 0xa867df55
mov dword [esp + 0x2cc], 0x316e8eef
mov dword [esp + 0x2d0], 0x4669be79
mov dword [esp + 0x2d4], 0xcb61b38c
mov dword [esp + 0x2d8], 0xbc66831a
mov dword [esp + 0x2dc], 0x256fd2a0
mov dword [esp + 0x2e0], 0x5268e236
mov dword [esp + 0x2e4], 0xcc0c7795
mov dword [esp + 0x2e8], 0xbb0b4703
mov dword [esp + 0x2ec], 0x220216b9
mov dword [esp + 0x2f0], 0x5505262f
mov dword [esp + 0x2f4], 0xc5ba3bbe
mov dword [esp + 0x2f8], 0xb2bd0b28
mov dword [esp + 0x2fc], 0x2bb45a92
mov dword [esp + 0x300], 0x5cb36a04
mov dword [esp + 0x304], 0xc2d7ffa7
mov dword [esp + 0x308], 0xb5d0cf31
mov dword [esp + 0x30c], 0x2cd99e8b
mov dword [esp + 0x310], 0x5bdeae1d
mov dword [esp + 0x314], 0x9b64c2b0
mov dword [esp + 0x318], 0xec63f226
mov dword [esp + 0x31c], 0x756aa39c
mov dword [esp + 0x320], 0x26d930a
mov dword [esp + 0x324], 0x9c0906a9
mov dword [esp + 0x328], 0xeb0e363f
mov dword [esp + 0x32c], 0x72076785
mov dword [esp + 0x330], 0x5005713
mov dword [esp + 0x334], 0x95bf4a82
mov dword [esp + 0x338], 0xe2b87a14
mov dword [esp + 0x33c], 0x7bb12bae
mov dword [esp + 0x340], 0xcb61b38
mov dword [esp + 0x344], 0x92d28e9b
mov dword [esp + 0x348], 0xe5d5be0d
mov dword [esp + 0x34c], 0x7cdcefb7
mov dword [esp + 0x350], 0xbdbdf21
mov dword [esp + 0x354], 0x86d3d2d4
mov dword [esp + 0x358], 0xf1d4e242
mov dword [esp + 0x35c], 0x68ddb3f8
mov dword [esp + 0x360], 0x1fda836e
mov dword [esp + 0x364], 0x81be16cd
mov dword [esp + 0x368], 0xf6b9265b
mov dword [esp + 0x36c], 0x6fb077e1
mov dword [esp + 0x370], 0x18b74777
mov dword [esp + 0x374], 0x88085ae6
mov dword [esp + 0x378], 0xff0f6a70
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x37c], 0x66063bca
mov dword [esp + 0x380], 0x11010b5c
mov dword [esp + 0x384], 0x8f659eff
mov dword [esp + 0x388], 0xf862ae69
mov dword [esp + 0x38c], 0x616bffd3
mov dword [esp + 0x390], 0x166ccf45
mov dword [esp + 0x394], 0xa00ae278
mov dword [esp + 0x398], 0xd70dd2ee
mov dword [esp + 0x39c], 0x4e048354
mov dword [esp + 0x3a0], 0x3903b3c2
mov dword [esp + 0x3a4], 0xa7672661
mov dword [esp + 0x3a8], 0xd06016f7
mov dword [esp + 0x3ac], 0x4969474d
mov dword [esp + 0x3b0], 0x3e6e77db
mov dword [esp + 0x3b4], 0xaed16a4a
mov dword [esp + 0x3b8], 0xd9d65adc
mov dword [esp + 0x3bc], 0x40df0b66
mov dword [esp + 0x3c0], 0x37d83bf0
mov dword [esp + 0x3c4], 0xa9bcae53
mov dword [esp + 0x3c8], 0xdebb9ec5
mov dword [esp + 0x3cc], 0x47b2cf7f
mov dword [esp + 0x3d0], 0x30b5ffe9
mov dword [esp + 0x3d4], 0xbdbdf21c
mov dword [esp + 0x3d8], 0xcabac28a
mov dword [esp + 0x3dc], 0x53b39330
mov dword [esp + 0x3e0], 0x24b4a3a6
mov dword [esp + 0x3e4], 0xbad03605
mov dword [esp + 0x3e8], 0xcdd70693
mov dword [esp + 0x3ec], 0x54de5729
mov dword [esp + 0x3f0], 0x23d967bf
mov dword [esp + 0x3f4], 0xb3667a2e
mov dword [esp + 0x3f8], 0xc4614ab8
mov dword [esp + 0x3fc], 0x5d681b02
mov dword [esp + 0x400], 0x2a6f2b94
mov dword [esp + 0x404], 0xb40bbe37
mov dword [esp + 0x408], 0xc30c8ea1
mov dword [esp + 0x40c], 0x5a05df1b
mov dword [esp + 0x410], 0x2d02ef8d
lea eax, [esp + 0x478]
push str.QVC00021
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov esi, 8
lea ecx, [esp + 0x580]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov edi, eax
call fcn.00408e71
cdq
idiv edi
inc esi
cmp esi, 0x10
mov dl, byte [esp + edx + 0x580]
mov byte [esp + esi + 0x477], dl
jb 0x402b01
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x7c0]
push 0x10
rep stosd dword es:[edi], eax
lea eax, [esp + 0x7c4]
push 0x20
lea ecx, [esp + 0x564]
push eax
push ecx
lea ecx, [esp + 0x4a8]
mov byte [esp + esi + 0x488], 0
call fcn.004010c0
lea edx, [esp + 0x4bc]
lea eax, [esp + 0x478]
push edx
push eax
lea ecx, [esp + 0x4a0]
call fcn.00401a30
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea ecx, [esp + 0x454]
push ecx
mov byte [esp + 0x4d0], 0
call esi
mov edi, eax
call fcn.00408e71
cdq
idiv edi
lea eax, [esp + 0x454]
push eax
mov dl, byte [esp + edx + 0x458]
mov byte [esp + 0x418], dl
call esi
mov esi, eax
call fcn.00408e71
cdq
idiv esi
lea eax, [esp + 0x414]
mov byte [esp + 0x416], 0
mov cl, byte [esp + edx + 0x454]
lea edx, [esp + 0x4bc]
push edx
push eax
mov byte [esp + 0x41d], cl
call ebx
or esi, 0xffffffff
xor edi, edi
xor ecx, ecx
mov edx, esi
mov cl, byte [esp + edi + 0x414]
and edx, 0xff
xor ecx, edx
shr esi, 8
mov eax, dword [esp + ecx*4 + 0x14]
lea ecx, [esp + 0x5c0]
xor esi, eax
push esi
push 0x41c9bc
push ecx
call ebp
add esp, 0xc
inc edi
cmp edi, 0x12
jb 0x402bf2
not esi
xor esi, 0xf00
mov byte [esp + 0x428], 0
and esi, 0xffff
mov byte [esp + 0x6c0], 0
mov eax, esi
mov esi, 2
mov byte [esp + 0x426], al
shr eax, 8
mov byte [esp + 0x427], al
xor edx, edx
lea eax, [esp + 0x5c0]
mov dl, byte [esp + esi + 0x414]
push edx
push str._02X
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x5c0]
lea edx, [esp + 0x6c0]
push ecx
push edx
call ebx
inc esi
cmp esi, 0x14
jb 0x402c5d
cmp byte [esp + 0x6e3], 0x30
jne 0x402ae9
mov al, byte [esp + 0x414]
mov cl, byte [esp + 0x415]
push 0x10
push pe_nt_image_headers32
mov byte [esp + 0x6eb], 0
mov byte [esp + 0x4e4], al
mov byte [esp + 0x4e5], cl
mov byte [esp + 0x4e6], 0
call fcn.00403560
push 0
call fcn.00403390
lea edx, [esp + 0x6cc]
mov esi, eax
push edx
push esi
mov dword [esp + 0x24], esi
call fcn.004045f0
lea eax, [esp + 0x5d4]
push eax
push esi
call fcn.00402e30
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrlenA]
add esp, 0x1c
lea ecx, [esp + 0x5c0]
push ecx
call ebp
cmp eax, 0x1c
jge 0x402d41
lea edx, [esp + 0x5c0]
push edx
call ebp
mov ecx, 0x1c
sub ecx, eax
test ecx, ecx
jle 0x402d41
mov esi, ecx
lea eax, [esp + 0x4dc]
push 0x41c9b0
push eax
call ebx
dec esi
jne 0x402d2f
lea ecx, [esp + 0x5c0]
lea edx, [esp + 0x4dc]
push ecx
push edx
call ebx
lea eax, [esp + 0x4dc]
lea ecx, [esp + 0x5c0]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea edx, [esp + 0x5c0]
xor esi, esi
push edx
xor edi, edi
call ebp
test eax, eax
jbe 0x402dbc
mov bl, 0x2d
mov al, byte [esp + edi + 0x5c0]
mov byte [esp + esi + 0x4dc], al
inc esi
cmp esi, 5
je 0x402da5
cmp esi, 0xb
je 0x402da5
cmp esi, 0x11
je 0x402da5
cmp esi, 0x17
je 0x402da5
cmp esi, 0x1d
jne 0x402dad
mov byte [esp + esi + 0x4dc], bl
inc esi
lea ecx, [esp + 0x5c0]
inc edi
push ecx
call ebp
cmp edi, eax
jb 0x402d7d
mov eax, dword [esp + 0x850]
lea edx, [esp + 0x4dc]
push edx
push 0x3e9
push eax
mov byte [esp + esi + 0x4e8], 0
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00403c40
add esp, 4
call fcn.00403c60
lea ecx, [esp + 0x498]
mov dword [esp + 0x848], 0xffffffff
call fcn.00401040
mov ecx, dword [esp + 0x840]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x83c
ret