Function at 0x401810
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40450e
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
call fcn.004012c0
mov edx, 0x30
lea ecx, [edx - 0x1e]
call fcn.004014d0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x405274
push 0x4021a0
push eax
call fcn.00401f80
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.GCD:
lea ecx, [ebp - 0x50]
call fcn.00401cb0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0xf
lea esi, [ebp - 0x50]
mov edi, dword [ebp - 0x50]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x40]
cmova ecx, edi
cmova esi, edi
mov dword [ebp - 0x1c], 0
add eax, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x38], eax
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x2c], 0
cmp esi, eax
je 0x401938
nop dword [eax]
movsx edi, byte [esi]
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isupper]
add esp, 4
push edi
test eax, eax
je 0x4018ea
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
jmp 0x4018f0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov ecx, dword [ebp - 0x1c]
mov edx, eax
mov edi, dword [ebp - 0x18]
add esp, 4
mov byte [ebp - 0x14], dl
cmp ecx, edi
jae 0x40191c
lea eax, [ecx + 1]
cmp edi, 0xf
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x40192f
push dword [ebp - 0x14]
mov byte [ebp - 0x34], 0
push dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402240
inc esi
cmp esi, dword [ebp - 0x38]
jne 0x4018d0
mov edi, dword [ebp - 0x50]
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmova edx, dword [ebp - 0x2c]
push 0x4021a0
push dword [ebp - 0x1c]
call fcn.00402640
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x401995
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40198b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4019d3
push ecx
push edx
call fcn.004035af
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp eax, 0xf
jbe 0x4019e3
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4019d9
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4019d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.004035af
add esp, 8
call fcn.004014f0
mov ecx, 9
call fcn.00401730
mov ecx, 8
mov edx, eax
call fcn.00401730
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add eax, edx
push 0x4021a0
push eax
mov edx, str.Fib_10_:
call fcn.00401f80
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
call fcn.00401760
movsd xmm2, qword [0x4052d0]
mov eax, 0xa
movsd xmm1, qword [0x4052c8]
test al, 1
je 0x401a48
mulsd xmm1, xmm2
shr eax, 1
movaps xmm0, xmm2
mulsd xmm2, xmm0
jne 0x401a40
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.210:
push 0x4021a0
sub esp, 8
movsd qword [esp], xmm1
call fcn.00401f80
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___double_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor edx, edx
xor esi, esi
xor ecx, ecx
lea eax, [ecx + esi]
test al, 1
lea eax, [edx + 1]
cmovne eax, edx
inc ecx
mov edx, eax
cmp ecx, 0x3e8
jl 0x401a86
inc esi
cmp esi, 0x3e8
jl 0x401a84
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x4021a0
push edx
mov edx, str.Count:
call fcn.00401f80
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor edi, edi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
xor eax, eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], eax
mov esi, 2
mov dword [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x14], esi
mov edx, ecx
cmp ecx, 1
jle 0x401b4f
mov ecx, 2
cmp edx, 4
jl 0x401b26
mov eax, esi
cdq
idiv ecx
test edx, edx
je 0x401b4c
inc ecx
mov eax, ecx
imul eax, ecx
cmp eax, esi
jle 0x401b10
mov eax, dword [ebp - 0x30]
cmp edi, eax
je 0x401b34
mov dword [edi], esi
add edi, 4
mov dword [ebp - 0x1c], edi
jmp 0x401b4f
lea eax, [ebp - 0x14]
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.00402830
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
jmp 0x401b4f
mov eax, dword [ebp - 0x30]
inc esi
mov dword [ebp - 0x14], esi
mov ecx, esi
mov edx, ecx
cmp esi, 0x64
jl 0x401b01
mov esi, dword [ebp - 0x20]
cmp esi, edi
je 0x401b91
nop dword [eax]
nop word [eax + eax]
push dword [esi]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x405248
mov ecx, eax
call fcn.00401f80
add esi, 4
cmp esi, edi
jne 0x401b70
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x4021a0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x401bdb
mov ecx, dword [ebp - 0x30]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x401bd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401bd1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004035af
add esp, 8
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREABM
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401c23
push 0x19
push str.ABMCTFdinamik_analizci
push 1
push eax
push str.ABMdinamik_analizci
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403571
mov esp, ebp
pop ebp
ret