Function at 0x10004122
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 0xc], 1
jne 0x100042f7
push 0x10006244
call fcn.10002935
pop ecx
movzx eax, al
test eax, eax
je 0x10004281
push 0x15088
push 0x39f0
call fcn.10003c93
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
push 0x44d8537
push 0x95c255
call fcn.10003c93
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jl 0x100041ba
and dword [ebp - 8], 0
jmp 0x10004185
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x25c5
jg 0x100041b5
call fcn.100038ba
fstp qword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x24]
addsd xmm0, qword [0x100064b8]
cvttsd2si eax, xmm0
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call fcn.10004023
pop ecx
jmp 0x1000417e
jmp 0x1000427f
call fcn.10003cd9
movzx eax, al
test eax, eax
je 0x100041d3
xor eax, eax
inc eax
jmp 0x100042fa
call fcn.1000396c
cmp eax, 9
jle 0x100041ff
push 0
push 0
push 0
push 0x10003b75
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
jmp 0x100042fa
push 0x31525
push 0x18710
call fcn.10003c93
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
call fcn.100038ea
pop ecx
fstp qword [ebp - 0x2c]
push 0x10001d77
push ecx
push ecx
movsd xmm0, qword [ebp - 0x2c]
movsd qword [esp], xmm0
push 0x1000625c
push dword [ebp - 0xc]
push 0x10006284
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1000118d
pop ecx
pop ecx
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_]
push eax
call fcn.1000118d
pop ecx
pop ecx
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_____]
push 0
push 0
push 0x10006298
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x100042fa
jmp 0x100042ee
mov dword [ebp - 4], 1
jmp 0x10004291
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x879a68
jg 0x100042ea
push dword [ebp - 4]
call fcn.1000388a
pop ecx
mov dword [ebp - 0x1c], eax
push 0x10001d77
push dword [ebp - 0x1c]
push str.__Suma_dixital:
push dword [ebp - 4]
push 0x100062d0
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1000118d
pop ecx
pop ecx
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_]
push eax
call fcn.1000118d
pop ecx
pop ecx
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_____]
jmp 0x1000428a
xor eax, eax
jmp 0x100042fa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
inc eax
leave
ret 0xc