Function at 0x40f250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46860f
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x47400c]
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 esi, edx
mov eax, ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x48], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0
mov ecx, 0xf
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x2c], 0
xor al, al
mov byte [ebp - 4], 2
mov byte [ebp - 0x49], al
mov dword [ebp - 0x64], 0
nop dword [eax + eax]
mov edx, dword [edi]
lea eax, [edx + 1]
mov dword [edi], eax
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x48], eax
mov eax, esi
jb 0x40f2f4
mov eax, dword [esi]
mov bl, byte [eax + edx]
mov byte [ebp - 0x60], bl
cmp bl, 0x2d
je 0x40f359
cmp bl, 0x30
jl 0x40f309
cmp bl, 0x39
jle 0x40f359
cmp bl, 0x2e
jne 0x40f39b
mov edx, dword [ebp - 0x34]
cmp edx, ecx
jae 0x40f338
lea eax, [edx + 1]
mov byte [ebp - 0x49], 1
mov dword [ebp - 0x34], eax
cmp ecx, 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
mov word [eax + edx], 0x2e
mov ecx, dword [ebp - 0x30]
jmp 0x40f2e0
push 0x2e
mov byte [ebp - 0xc0], 0
push dword [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004033c0
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x49], 1
jmp 0x40f2e0
mov edx, dword [ebp - 0x34]
cmp edx, ecx
jae 0x40f380
lea eax, [edx + 1]
cmp ecx, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
mov byte [eax + edx], bl
mov byte [eax + edx + 1], 0
mov ecx, dword [ebp - 0x30]
jmp 0x40f2e0
push dword [ebp - 0x60]
mov byte [ebp - 0x50], 0
push dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004033c0
mov ecx, dword [ebp - 0x30]
jmp 0x40f2e0
cmp bl, 0x45
je 0x40f55f
cmp bl, 0x65
je 0x40f55f
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
jne 0x40f70c
cmp bl, 0x2c
je 0x40f70c
cmp bl, 0x5d
je 0x40f70c
cmp bl, 0x7d
je 0x40f70c
movaps xmm0, xmmword [0x46fcf0]
xor ecx, ecx
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x88], 0x22352433
movaps xmm0, xmmword [0x46efb0]
movups xmmword [ebp - 0x98], xmm0
mov word [ebp - 0x84], 0x7770
mov byte [ebp - 0x82], al
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0xa8]
xor byte [ebp + ecx - 0xa7], al
inc ecx
cmp ecx, 0x25
jb 0x40f420
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea edx, [ebp - 0xa7]
mov byte [ebp - 0x82], 0
call fcn.00402d70
mov dl, bl
mov ecx, eax
call fcn.00402fb0
mov edx, 0x46e064
mov ecx, eax
call fcn.00402d70
mov byte [ebp - 4], 4
mov dword [ebp - 0x80], 4
push 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], 0
call fcn.00404a40
mov esi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x54]
mov dword [esi + 4], ecx
lea ecx, [ebp - 0x5c]
mov dword [esi + 8], eax
mov dword [ebp - 0x54], 0
call fcn.004043a0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x40f4e1
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f4d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f923
push edx
push ecx
call fcn.00466a5c
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x40f527
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f51d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f923
push edx
push ecx
call fcn.00466a5c
add esp, 8
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.004043a0
mov eax, esi
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.00466a4b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x48]
mov ecx, esi
lea edx, [eax + 1]
mov dword [edi], edx
cmp dword [esi + 0x14], 0x10
jb 0x40f571
mov ecx, dword [esi]
cmp byte [ecx + eax], 0x2d
jne 0x40f5b0
mov ecx, dword [ebp - 0x1c]
lea eax, [edx + 1]
mov edx, dword [ebp - 0x18]
mov dword [edi], eax
cmp ecx, edx
jae 0x40f59e
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov word [eax + ecx], 0x2d
jmp 0x40f5b0
push 0x2d
mov byte [ebp - 0x48], 0
push dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004033c0
mov ecx, dword [edi]
lea eax, [ecx + 1]
mov dword [edi], eax
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x40f5c1
mov eax, dword [esi]
mov bl, byte [eax + ecx]
mov byte [ebp - 0x60], bl
lea eax, [ebx - 0x30]
cmp al, 9
ja 0x40f5f7
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
jae 0x40f5f2
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x40f5b0
push dword [ebp - 0x60]
jmp 0x40f5a0
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
jne 0x40f6c0
cmp bl, 0x2c
je 0x40f6c0
cmp bl, 0x5d
je 0x40f6c0
cmp bl, 0x7d
je 0x40f6c0
movaps xmm0, xmmword [str.9kkvk]
xor ecx, ecx
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0x88], 0x574c565f
movaps xmm0, xmmword [0x46f9f0]
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x84], 0x1e195d
movaps xmm0, xmmword [0x46eb90]
movups xmmword [ebp - 0x98], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0xb8]
xor byte [ebp + ecx - 0xb7], al
inc ecx
cmp ecx, 0x36
jb 0x40f670
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea edx, [ebp - 0xb7]
mov byte [ebp - 0x81], 0
call fcn.00402d70
mov dl, bl
mov ecx, eax
call fcn.00402fb0
mov edx, 0x46e064
mov ecx, eax
call fcn.00402d70
mov byte [ebp - 4], 3
mov dword [ebp - 0x80], 2
jmp 0x40f46b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
mov ebx, eax
lea eax, [ebp - 0x48]
cmovae esi, dword [ebp - 0x2c]
push 0xa
push eax
push esi
mov dword [ebx], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov dword [ebp - 0x64], eax
cmp esi, dword [ebp - 0x48]
jne 0x40f6fc
push str.invalid_stol_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
cmp dword [ebx], 0x22
jne 0x40f70c
push str.stol_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
dec dword [edi]
cmp byte [ebp - 0x49], 0
je 0x40f7a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x30], 0x10
lea esi, [ebp - 0x44]
mov edi, eax
lea eax, [ebp - 0x48]
cmovae esi, dword [ebp - 0x44]
push eax
push esi
mov dword [edi], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtod]
add esp, 8
fstp qword [ebp - 0xc4]
cmp esi, dword [ebp - 0x48]
jne 0x40f755
push str.invalid_stod_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
cmp dword [edi], 0x22
jne 0x40f765
push str.stod_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
movd xmm1, dword [ebp - 0x64]
movsd xmm0, qword [0x46e4c8]
cvtdq2pd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
lea ecx, [ebp - 0x7c]
movsd qword [ebp - 0x54], xmm0
call fcn.004043a0
movsd xmm0, qword [ebp - 0x54]
mov ecx, 4
mulsd xmm0, qword [ebp - 0xc4]
movsd qword [ebp - 0x7c], xmm0
mov edi, dword [ebp - 0x7c]
jmp 0x40f893
cmp dword [ebp - 0x1c], 0
je 0x40f83b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x30], 0x10
lea esi, [ebp - 0x44]
mov edi, eax
lea eax, [ebp - 0x48]
cmovae esi, dword [ebp - 0x44]
push 0xa
push eax
push esi
mov dword [edi], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov ebx, eax
cmp esi, dword [ebp - 0x48]
jne 0x40f7ec
push str.invalid_stol_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
cmp dword [edi], 0x22
jne 0x40f7fc
push str.stol_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
movd xmm1, dword [ebp - 0x64]
movsd xmm0, qword [0x46e4c8]
cvtdq2pd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_pow_precise
lea ecx, [ebp - 0x7c]
movsd qword [ebp - 0x54], xmm0
call fcn.004043a0
movd xmm1, ebx
mov ecx, 4
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [ebp - 0x54]
movsd qword [ebp - 0x7c], xmm1
mov edi, dword [ebp - 0x7c]
jmp 0x40f893
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x30], 0x10
lea esi, [ebp - 0x44]
mov ebx, eax
lea eax, [ebp - 0x48]
cmovae esi, dword [ebp - 0x44]
push 0xa
push eax
push esi
mov dword [ebx], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
add esp, 0xc
mov edi, eax
cmp esi, dword [ebp - 0x48]
jne 0x40f876
push str.invalid_stol_argument
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__]
cmp dword [ebx], 0x22
jne 0x40f886
push str.stol_argument_out_of_range
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
lea ecx, [ebp - 0x7c]
call fcn.004043a0
mov ecx, 5
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x74], 0
mov dword [esi], edi
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [ebp - 0x7c], 0
cmp edx, 0x10
jb 0x40f8df
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f8d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f923
push edx
push ecx
call fcn.00466a5c
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x40f527
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f51d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f51d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3