Function at 0x404a90
Capabilities:
Check http status code
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ecx, 0x13
xor eax, eax
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x564]
mov esi, str.onecoreuap_baseAppModelSearchcommonincludePrivateComActivationHelper.h
push ebx
sub esp, 0x59c
mov dword [ebp - 0x570], 0xfa1facb3
rep movsd dword es:[edi], dword [esi]
mov byte [ebp + eax - 0x518], al
inc eax
cmp eax, 0x100
jne 0x404aba
xor esi, esi
xor ecx, ecx
mov edi, 0x4b
mov eax, ecx
xor edx, edx
mov bl, byte [ebp + ecx - 0x518]
div edi
movzx eax, byte [ebp + edx - 0x564]
movzx edx, bl
add eax, edx
add eax, esi
movzx esi, al
mov al, byte [ebp + esi - 0x518]
mov byte [ebp + ecx - 0x518], al
inc ecx
mov byte [ebp + esi - 0x518], bl
cmp ecx, 0x100
jne 0x404ad2
mov eax, dword [0x410d38]
xor edx, edx
xor edi, edi
xor esi, esi
sub eax, 0x3e486546
mov dword [0x410b3c], eax
mov ebx, dword [0x410b3c]
mov dword [ebp - 0x580], edx
mov eax, ebx
xor ebx, 0xc1517248
xor eax, 0x89d2498a
mov dword [ebp - 0x57c], eax
mov dword [0x410ea4], eax
call fcn.0040c5d8
lea eax, [esi + 1]
mov edx, dword [ebp - 0x580]
movzx esi, al
lea eax, [ebx + 0x3356c587]
mov dword [0x410d38], eax
mov al, byte [ebp + esi - 0x518]
lea ecx, [eax + edi]
movzx edi, cl
mov ecx, ebx
add ebx, 0x45a59ae7
or ecx, 0x6bd5fbde
mov dword [0x410b3c], ebx
mov dword [0x410d58], ecx
mov cl, byte [ebp + edi - 0x518]
mov byte [ebp + esi - 0x518], cl
mov byte [ebp + edi - 0x518], al
add al, byte [ebp + esi - 0x518]
movzx eax, al
mov al, byte [ebp + eax - 0x518]
xor al, byte [ebp + edx - 0x570]
movzx eax, al
mov word [ebp + edx*2 - 0x56c], ax
inc edx
cmp edx, 4
jne 0x404b24
mov word [ebp - 0x564], 0
mov edi, ebx
mov dword [esp + 0xc], 0x413848
and edi, 0x42b66ca4
mov dword [esp + 8], ebx
mov dword [esp + 4], str.totalHits
mov eax, dword [ebp - 0x57c]
mov dword [esp], eax
call fcn.0040bf8c
mov dword [0x410d58], edi
mov eax, dword [0x410f84]
add edi, 0x6cba62e0
mov dword [esp + 4], str.mr_IN
mov dword [esp], str.destination_address_required
lea esi, [eax + 0x7f2ced5]
xor esi, 0x7be86cbc
call fcn.0040c1cc
mov dword [0x410f84], edi
xor edi, edi
xor eax, eax
mov dword [ebp - 0x574], edi
mov ecx, 0x100
lea edi, [ebp - 0x418]
mov edx, esi
rep stosd dword es:[edi], eax
mov eax, dword [0x40f970]
mov dword [0x410d38], esi
xor esi, esi
mov dword [ebp - 0x578], esi
cmp dword [eax + 0x178], 0
jne 0x404c9e
mov eax, dword [ebp - 0x57c]
and ebx, 0x28040a4
sub edx, 0x1314c035
mov dword [0x410d38], ebx
xor ebx, ebx
sub eax, 0x32860909
mov dword [0x410f84], edx
mov dword [0x410b3c], eax
mov dword [esp], ebx
call fcn.00401b0c
mov ebx, dword [0x40f970]
cmp dword [ebx + 4], 0
je 0x404ce4
mov eax, dword [0x40f970]
xor ecx, ecx
mov edx, dword [eax + 0x178]
mov dword [esp + 0xc], ecx
movzx ecx, word [edx + 4]
mov dword [esp + 8], ecx
mov edx, dword [edx]
mov dword [esp + 4], edx
mov edx, dword [eax + 4]
mov dword [esp], edx
call dword [eax + 0x104]
mov dword [ebp - 0x57c], eax
sub esp, 0x10
test eax, eax
jne 0x404d2b
jmp 0x404d1a
xor edi, edi
mov dword [esp + 4], 1
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov eax, dword [ebx + 0x194]
mov dword [esp], eax
call dword [ebx + 0x100]
mov dword [ebx + 4], eax
mov eax, dword [0x40f970]
sub esp, 0x14
cmp dword [eax + 4], 0
jne 0x404caa
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x57c], esi
jmp 0x405228
mov ebx, dword [0x410d38]
xor edi, edi
lea eax, [ebx - 0x20afeb88]
sub ebx, 0x6be92857
mov dword [0x410f84], eax
mov eax, dword [0x410b3c]
mov dword [0x410ea4], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.totalHits
mov dword [esp + 8], 0x413848
mov dword [esp + 4], str.totalHits
mov dword [esp], str.totalHits
call fcn.0040c650
mov eax, dword [0x40f970]
mov esi, dword [eax + 0x198]
cmp dword [esi + edi*4], 0
je 0x404d8b
inc edi
jmp 0x404d82
and ebx, 0x4d8524e5
mov dword [0x410d38], ebx
call fcn.00409ef8
xor edx, edx
div edi
mov eax, dword [0x410f84]
or eax, 0x11e2b5d5
mov dword [0x410d38], eax
mov eax, dword [0x40f970]
mov ecx, dword [eax + 0x178]
cmp dword [ecx + 8], 0
mov edx, dword [esi + edx*4]
mov dword [ebp - 0x578], 0x100
je 0x404dd7
mov dword [ebp - 0x578], 0x800100
mov ecx, dword [ebp - 0x578]
mov dword [esp + 8], edx
lea edx, [ebp - 0x56c]
xor edi, edi
mov dword [esp + 4], edx
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
mov esi, dword [ebp - 0x57c]
mov dword [esp], esi
call dword [eax + 0x108]
sub esp, 0x1c
mov ebx, eax
test eax, eax
je 0x405228
mov esi, dword [0x40f970]
mov eax, dword [esi + 0x178]
cmp dword [eax + 8], 0
je 0x404e95
mov eax, dword [0x410d38]
add eax, 0xbc462c5
mov dword [0x410f84], eax
imul eax, dword [0x410ea4], 0x543b0de
mov dword [0x410ea4], eax
and eax, 0xb6d6f004
mov dword [0x410d38], eax
mov dword [esp + 4], str.totalHits
mov dword [esp], eax
call fcn.0040ca44
lea eax, [ebp - 0x578]
mov dword [ebp - 0x578], 0x3300
mov dword [esp + 0xc], 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x1f
mov dword [esp], ebx
call dword [esi + 0x10c]
sub esp, 0x10
xor edi, edi
mov edx, dword [0x40f970]
mov eax, dword [edx + 0x19c]
mov esi, dword [eax + edi]
add edi, 4
test esi, esi
je 0x404ede
mov dword [esp + 0xc], 0x20000000
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [edx + 0x110]
imul eax, dword [0x410d38], 0xc55f52cf
sub esp, 0x10
mov dword [0x410ea4], eax
jmp 0x404e97
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edi, edi
mov eax, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call dword [edx + 0x114]
sub esp, 0x1c
mov edi, eax
test eax, eax
je 0x405228
xor edi, edi
mov dword [esp], ebx
mov dword [esp + 4], edi
mov eax, dword [0x40f970]
call dword [eax + 0x118]
push edx
push edx
test eax, eax
je 0x404f59
mov eax, dword [0x410b3c]
sub eax, 0x2ea74ce2
mov dword [0x410d38], eax
mov dword [esp], ebx
call fcn.00404a24
cmp dword [ebp + 0xc], 0
je 0x404f59
cmp eax, 0xc8
je 0x404f60
xor edi, edi
jmp 0x405228
mov edi, dword [0x410f84]
mov edx, str.it_IT
mov ecx, 0x46b
movsx eax, byte [edx]
test al, al
je 0x404f8f
add ecx, eax
cmp ecx, 0x1214
ja 0x404f8f
imul eax, edi, 0x54535ada
inc edx
mov dword [0x410ea4], eax
jmp 0x404f70
mov dword [esp + 0xc], 0x413848
mov eax, dword [0x410d58]
mov dword [esp], edi
and edi, 0x6be43f01
mov dword [esp + 8], eax
sub edi, 0x574102fd
mov dword [esp + 4], str.totalHits
xor edi, 0x30201229
call fcn.0040bf8c
mov dword [0x410d38], edi
sub edi, 0x75d51716
mov dword [0x410f84], edi
xor edi, edi
mov edx, dword [0x410d38]
mov dword [esp + 0xc], str.totalHits
mov dword [esp + 8], str.mr_IN
mov dword [esp + 0x10], edx
mov dword [esp + 4], str.totalHits
mov dword [esp], str.totalHits
call fcn.0040c650
mov eax, dword [0x410b3c]
or eax, 0xf7daf88a
mov dword [0x410d58], eax
mov eax, dword [0x410f84]
mov dword [esp + 0xc], str.se_NO
mov ecx, dword [0x410ea4]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], str.totalHits
call fcn.0040bf8c
mov eax, dword [0x410f84]
mov edx, dword [0x410d38]
imul eax, eax, 0x11fd7882
mov ecx, edx
or edx, 0x9fd0d322
xor ecx, 0x5798e507
mov dword [0x410b3c], edx
mov dword [0x410ea4], ecx
mov dword [0x410d38], eax
lea eax, [ebp - 0x574]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x418]
mov dword [esp + 8], 0x400
mov dword [esp + 4], eax
mov dword [esp], ebx
mov eax, dword [0x40f970]
call dword [eax + 0x11c]
mov dword [ebp - 0x580], eax
sub esp, 0x10
test eax, eax
je 0x4051fa
mov eax, dword [ebp - 0x574]
mov edx, dword [0x40f970]
test eax, eax
je 0x4051fa
test esi, esi
jne 0x4050e1
mov ecx, dword [0x410ea4]
and ecx, 0x31aa505b
mov dword [0x410d58], ecx
mov dword [esp + 4], eax
mov dword [esp], 0x40
call dword [edx + 0x50]
push esi
push esi
jmp 0x4050f8
add eax, edi
mov dword [esp + 8], 0x42
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [edx + 0x54]
sub esp, 0xc
mov edx, dword [ebp - 0x574]
mov esi, eax
lea eax, [edx + edi]
add edi, esi
mov dword [ebp - 0x584], eax
mov eax, dword [0x410f84]
xor eax, 0xa85e17b3
mov dword [0x410d58], eax
lea eax, [ebp - 0x418]
mov dword [esp + 8], edx
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00405d1c
mov edx, dword [0x410d38]
mov eax, dword [0x410b3c]
imul edi, edx, 0x17ff02cb
xor eax, 0x458a46de
mov dword [0x410f84], eax
mov dword [0x410d58], edi
or edi, 0x78038a35
mov dword [0x410b3c], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x4132f4
mov dword [esp + 4], str.totalHits
mov dword [esp], eax
call fcn.0040bf8c
mov edx, str.mr_IN
mov ecx, 0x236
movsx eax, byte [edx]
inc edx
test al, al
je 0x4051b0
add ecx, eax
cmp ecx, 0x11af
jbe 0x405183
lea eax, [edi - 0x2e0b6dd8]
mov dword [0x410f84], eax
mov dword [esp + 4], str.totalHits
mov dword [esp], eax
call fcn.0040ca44
mov eax, dword [0x410f84]
add edi, 0x6eba6aa5
xor ecx, ecx
mov dword [0x410d38], edi
and eax, 0xbcdfda79
mov dword [0x410ea4], eax
lea eax, [ebp - 0x418]
mov dword [esp + 8], 0x400
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00405d6c
cmp dword [ebp - 0x580], 1
mov edi, dword [ebp - 0x584]
je 0x404fd6
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edi
mov eax, dword [0x410d38]
mov edi, 1
xor eax, 0x72d8b3ed
mov dword [0x410ea4], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [0x410b3c]
sub eax, 0x2bfac257
mov dword [0x410f84], eax
mov eax, dword [0x40f970]
mov edx, dword [eax + 4]
test edx, edx
je 0x405258
imul ecx, dword [0x410d58], 0x83dbb9d7
mov dword [0x410d38], ecx
mov dword [esp], edx
call dword [eax + 0x120]
xor edx, edx
push esi
mov eax, dword [0x40f970]
mov dword [eax + 4], edx
cmp dword [ebp - 0x57c], 0
je 0x405285
mov eax, dword [0x410d38]
and eax, 0xb335b0d4
mov dword [0x410f84], eax
mov eax, dword [ebp - 0x57c]
mov dword [esp], eax
mov eax, dword [0x40f970]
call dword [eax + 0x120]
push ecx
test ebx, ebx
je 0x4052a7
mov eax, dword [0x410b3c]
or eax, 0xfcaa8e
mov dword [0x410ea4], eax
mov dword [esp], ebx
mov eax, dword [0x40f970]
call dword [eax + 0x120]
push edx
mov ebx, dword [0x40f970]
test edi, edi
jne 0x405372
mov edx, str.too_many_files_open
mov ecx, 0xeca
movsx eax, byte [edx]
inc edx
test al, al
je 0x4052f7
add ecx, eax
cmp ecx, 0x120c
jbe 0x4052bf
mov dword [esp + 0xc], 0x413848
mov eax, dword [0x410f84]
mov dword [esp + 4], str.totalHits
mov dword [esp + 8], eax
mov eax, dword [0x410d38]
mov dword [esp], eax
call fcn.0040bf8c
mov esi, dword [0x410b3c]
mov eax, dword [ebx + 0x178]
and esi, 0x9666391
mov dword [0x410d38], esi
mov dword [esp], eax
call fcn.0040485c
mov dword [ebx + 0x178], eax
xor eax, eax
cmp byte [eax + 0x413848], 0
je 0x40533c
inc eax
cmp eax, 0x2576
jne 0x40531f
add esi, 0x4875d4e0
mov dword [0x410d38], esi
mov eax, dword [0x410d58]
lea edx, [eax - 0x12623577]
sub eax, 0x318d90ea
mov dword [0x410f84], edx
mov dword [0x410d58], eax
call fcn.0040c5d8
mov dword [ebx + 0x184], 1
mov dword [ebx + 0x188], 2
jmp 0x40537a
xor eax, eax
mov dword [ebx + 0x184], eax
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret