Function at 0x407730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b732
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4720bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0
mov dword [0x4725c0], 4
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
push 4
mov byte [ebp - 4], 1
call fcn.00459a3a
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4077b6
mov ecx, eax
call fcn.0040cc90
push 0
push 0x45d68b
mov ecx, 0x4724a0
mov byte [ebp - 4], 1
mov byte [0x47249c], 0
call fcn.00402a50
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0
push eax
call sub.SensApi.dll_IsNetworkAlive
test eax, eax
je 0x40807a
push 0x1024
mov dword [0x472594], 0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x1024
push 0
push eax
mov dword [ebp - 0xb0], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov byte [0x47249c], 0
mov byte [0x4724b8], 0
xor ecx, ecx
mov dword [ebp - 0x3c], 0xdbcedecc
mov dword [ebp - 0x38], 0x100c6d7
nop dword [eax]
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x3c], al
inc ecx
cmp ecx, 6
jb 0x407840
lea eax, [ebp - 0xab]
mov byte [ebp - 0x35], 0
push eax
lea eax, [ebp - 0x36]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00403020
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0040e010
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 4
jb 0x40788e
mov edx, dword [edx]
mov dword [ebp - 0x24], 0xd4c8d8db
xor ecx, ecx
mov dword [ebp - 0x20], 0x100d1d1
nop
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 6
jb 0x4078a0
push edx
lea eax, [ebp - 0x24]
mov byte [ebp - 0x1d], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.0040be30
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x4078f6
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4078ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407935
push ecx
push edx
call fcn.00459a6a
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x407945
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40793b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40793b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00459a6a
add esp, 8
lea eax, [ebp - 0x58]
push 0x472540
push eax
call fcn.0040e010
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 5
jb 0x407964
mov edx, dword [edx]
mov dword [ebp - 0x28], 0xd5c8cedb
xor ecx, ecx
mov dword [ebp - 0x24], 0xa4d6e1
mov byte [ebp - 0x20], 1
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 7
jb 0x407978
push edx
lea eax, [ebp - 0x28]
mov byte [ebp - 0x20], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.0040be30
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x4079d1
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4079c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4079c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00459a6a
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x472528
call fcn.00402320
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xa5]
call fcn.004100c0
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x4079fd
mov edx, dword [edx]
mov dword [ebp - 0x2c], 0xd5c8cedb
xor ecx, ecx
mov dword [ebp - 0x28], 0xa8b4d1db
mov dword [ebp - 0x24], 0xacb0a2a1
mov dword [ebp - 0x20], 0x100a9a9
nop dword [eax + eax]
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 0xe
jb 0x407a20
push edx
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x1d], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.0040be30
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x407a79
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407a6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407a6f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00459a6a
add esp, 8
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402320
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xa5]
call fcn.004100c0
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 7
jb 0x407aa1
mov edx, dword [edx]
mov dword [ebp - 0x24], 0xc9ddc9f8
xor ecx, ecx
mov dword [ebp - 0x20], 0x100dec8
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 6
jb 0x407ab1
push edx
lea eax, [ebp - 0x24]
mov byte [ebp - 0x1d], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.0040be30
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x407b0a
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407b00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407b00
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00459a6a
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x4724f8
call fcn.00402320
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xa5]
call fcn.004100c0
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 8
jb 0x407b36
mov edx, dword [edx]
mov dword [ebp - 0x3c], 0xd8cfd4d6
xor ecx, ecx
mov word [ebp - 0x38], 0xcc
mov byte [ebp - 0x36], 1
nop dword [eax]
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x3c], al
inc ecx
cmp ecx, 5
jb 0x407b50
push edx
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x36], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.0040be30
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x407ba9
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407b9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407b9f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00459a6a
add esp, 8
sub esp, 0x18
lea eax, [esi + 0x78]
mov ecx, esp
push eax
call fcn.00402320
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xa5]
call fcn.004100c0
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x407bd4
mov edx, dword [edx]
mov dword [ebp - 0x24], 0xd1d2d3d9
xor ecx, ecx
mov dword [ebp - 0x20], 0x100dbd7
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 6
jb 0x407be4
push edx
lea eax, [ebp - 0x24]
mov byte [ebp - 0x1d], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.0040be30
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x407c3d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407c33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407c33
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00459a6a
add esp, 8
mov dword [ebp - 0x28], 0x92d5cbdb
xor ecx, ecx
mov dword [ebp - 0x24], 0xeeacd3da
mov word [ebp - 0x20], 0x100
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, 8
jb 0x407c53
movaps xmm0, xmmword [0x45d720]
xor ecx, ecx
mov byte [ebp - 0x1f], 0
movups xmmword [ebp - 0x88], xmm0
mov byte [ebp - 0x78], 1
nop dword [eax]
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x88], al
inc ecx
cmp ecx, 0xf
jb 0x407c80
push 0
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x78], 0
mov word [ebp - 0xac], 0
call fcn.0040bff0
mov esi, eax
sub esp, 0x18
mov edx, esp
mov ecx, esi
lea eax, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x38], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407cd0
sub ecx, dword [ebp - 0x38]
push ecx
push esi
mov ecx, edx
call fcn.00402080
mov esi, dword [ebp - 0xb0]
lea eax, [ebp - 0x28]
push esi
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.004098b0
add esp, 0x2c
test al, al
jne 0x407ee5
movaps xmm0, xmmword [0x45d770]
xor ecx, ecx
mov byte [0x4724b8], 1
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0xbfa3b9b8
mov dword [ebp - 0x44], 0xe5e0fbee
mov word [ebp - 0x40], 0xfc
mov byte [ebp - 0x3e], 1
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x58], al
inc ecx
cmp ecx, 0x19
jb 0x407d38
lea eax, [ebp - 0xab]
mov byte [ebp - 0x3e], 0
push eax
lea eax, [ebp - 0x3f]
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00403020
mov ecx, dword [0x4724d0]
cmp ecx, 0x10
jb 0x407d9d
mov eax, dword [0x4724bc]
inc ecx
cmp ecx, 0x1000
jb 0x407d93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407935
mov eax, edx
push ecx
push eax
call fcn.00459a6a
add esp, 8
movups xmm0, xmmword [ebp - 0x8c]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 0x8c], 0
movups xmmword [0x4724bc], xmm0
movq xmm0, qword [ebp - 0x7c]
movq qword [0x4724cc], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
call fcn.00401890
mov eax, dword [0x472598]
cmp eax, 3
ja case.default.0x4080f9
jmp dword [eax*4 + 0x40817c]
inc eax
mov byte [0x47249c], 1
mov dword [0x472598], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x1c], 0xd8ced4f9
push eax
mov word [ebp - 0x18], 0x100
call fcn.004043c0
push eax
mov ecx, 0x4724a0
call fcn.004042a0
lea ecx, [ebp - 0x58]
call fcn.00401890
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xd8ced4f9
mov word [ebp - 0x18], 0x100
call fcn.004043c0
mov ecx, dword [ebp - 0x60]
cmp ecx, 0x10
jb 0x407e9c
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40810b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40810b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
lea ecx, [ebp - 0x28]
mov byte [0x47249d], 1
mov dword [ebp - 0x28], 0xd9d0dafd
mov dword [ebp - 0x24], 0xa4b2cdd1
mov word [ebp - 0x20], 0x100
call fcn.00404400
lea ecx, [ebp - 0x74]
call fcn.00401890
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00459a78
mov esp, ebp
pop ebp
ret 4
push edi
lea ecx, [ebp - 0x28]
mov byte [0x47249d], 1
mov dword [ebp - 0x28], 0xd9d0dafd
mov dword [ebp - 0x24], 0xa4b2cdd1
mov word [ebp - 0x20], 0x100
call fcn.00404400
jmp 0x407e3c
mov dword [0x472598], 0
cmp esi, str.Req_IDNF
jne 0x408023
movaps xmm0, xmmword [0x45d840]
xor ecx, ecx
mov byte [0x4724b8], 1
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0x100f8fa
nop dword [eax]
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x88], al
inc ecx
cmp ecx, 0x12
jb 0x407f20
lea eax, [ebp - 0xab]
mov byte [ebp - 0x75], 0
push eax
lea eax, [ebp - 0x76]
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x34]
call fcn.00403020
mov ecx, dword [0x4724d0]
cmp ecx, 0x10
jb 0x407f88
mov eax, dword [0x4724bc]
inc ecx
cmp ecx, 0x1000
jb 0x407f7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407935
mov eax, edx
push ecx
push eax
call fcn.00459a6a
add esp, 8
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], 0
movups xmmword [0x4724bc], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [0x4724cc], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
call fcn.00401890
mov eax, dword [0x47259c]
cmp eax, 3
ja case.default.0x4080f9
jmp dword [eax*4 + 0x40818c]
inc eax
mov byte [0x47249c], 1
mov dword [0x47259c], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x1c], 0xd8ced4f9
push eax
mov word [ebp - 0x18], 0x100
call fcn.004043c0
push eax
mov ecx, 0x4724a0
call fcn.004042a0
lea ecx, [ebp - 0x58]
call fcn.00401890
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xd8ced4f9
mov word [ebp - 0x18], 0x100
call fcn.004043c0
jmp 0x407e94
push 0x1024
push 0
push dword [0x47258c]
mov dword [0x47259c], 0
call sub.VCRUNTIME140.dll_memset
mov edx, esi
add esp, 0xc
mov esi, dword [0x47258c]
nop word [eax + eax]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi], al
lea esi, [esi + 1]
test al, al
jne 0x408050
push dword [ebp - 0xb0]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp - 0x1c]
add esp, 4
call fcn.004053d0
jmp 0x407e26
mov byte [0x4724b8], 1
xor ecx, ecx
mov dword [ebp - 0x2c], 0xcac8def4
mov dword [ebp - 0x28], 0xe1abcdd1
mov dword [ebp - 0x24], 0xabb3ac86
mov word [ebp - 0x20], 0x100
nop
mov al, cl
sub al, 0x46
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 0xc
jb 0x4080a0
lea eax, [ebp - 0xab]
mov byte [ebp - 0x1f], 0
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00403020
mov ecx, 0x4724bc
call fcn.00401890
movups xmm0, xmmword [ebp - 0x58]
mov eax, dword [0x472594]
movups xmmword [0x4724bc], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [0x4724cc], xmm0
cmp eax, 3
ja case.default.0x4080f9
jmp dword [eax*4 + 0x40819c]
inc eax
mov dword [0x472594], eax
jmp 0x407e26
push ecx
push edx
call fcn.00459a6a
add esp, 8
jmp 0x407e9c