Function at 0x431590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489d31
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4d8b40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x7e8]
call fcn.00449610
cmp dword [edi + 0x15080], 0
jne 0x431617
lea ecx, [edi + 0x14bc8]
call fcn.0041ce40
lea ecx, [edi + 0x14d38]
call fcn.0041ce40
lea ecx, [edi + 0x5ba0]
call fcn.0042a680
lea ecx, [edi + 0x8d8]
call fcn.0042a740
lea ecx, [edi + 0xae68]
call fcn.0042a5a0
lea ecx, [edi + 0xcfb0]
call fcn.0042a820
jmp 0x431649
mov ecx, edi
call fcn.0042abd0
test al, al
jne 0x431649
push 0x4161d0
push str.Statistics:_cannot_read_file.
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.004151a0
add esp, 8
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 ecx, edi
call fcn.0042a900
mov eax, dword [edi + 0x80c]
lea esi, [edi + 0x808]
lea ecx, [edi + 0x14e98]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x43166e
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x43167d
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.00429aa0
mov dword [edi + 0x14ea8], edi
lea ecx, [edi + 0xcfb0]
mov eax, dword [esi + 4]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x43169f
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x4316ae
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.00429aa0
mov eax, dword [esi + 4]
lea ecx, [edi + 0xae68]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x4316ca
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x4316d9
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.00429aa0
mov eax, dword [esi + 4]
lea ecx, [edi + 0x8d8]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x4316f5
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x431704
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.00429aa0
mov eax, dword [esi + 4]
lea ecx, [edi + 0x5ba0]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x431720
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x43172f
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.00429aa0
mov eax, dword [esi + 4]
lea ecx, [edi + 0x14bb8]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x43174b
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x43175a
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.00429aa0
mov eax, dword [esi + 4]
lea ecx, [edi + 0x14d28]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x431776
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x431785
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.00429aa0
cmp byte [edi + 0x761], 0
je 0x4317b9
mov eax, dword [esi + 4]
lea ecx, [edi + 0x14eb0]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x4317aa
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x4317b9
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.00429aa0
mov eax, dword [edi + 0x74c]
test eax, eax
je 0x4319da
mov ecx, dword [edi + 0x750]
test ecx, ecx
je 0x4319da
mov dword [edi + 0x748], eax
cmp eax, ecx
jg 0x431801
nop
push eax
mov ecx, edi
call fcn.00473d30
test al, al
jne 0x431801
mov eax, dword [edi + 0x748]
inc eax
mov dword [edi + 0x748], eax
cmp eax, dword [edi + 0x750]
jle 0x4317e0
mov eax, dword [edi + 0x748]
mov ecx, dword [edi + 0x750]
cmp eax, ecx
jg 0x4319e4
test eax, eax
jns 0x43182f
neg eax
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.004160f0
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x43183c
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.004160f0
add esp, 8
lea ecx, [ebp - 0xbd]
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004150b0
push str.HTML_Server_running_at_port
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov dword [ebp - 4], 6
call fcn.004151a0
add esp, 8
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0xf
cmova ecx, dword [ebp - 0x40]
push 0x4161d0
push dword [ebp - 0x30]
push ecx
push eax
call fcn.00415af0
add esp, 0xc
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 ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x4318cc
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4318c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4318c2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0048599f
add esp, 8
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [edi + 0x14fc0], eax
cmp dword [edi + 0x758], 0
mov dword [edi + 0x14fc4], edx
mov byte [edi + 0x754], 1
jle 0x4319bf
cmp dword [edi + 0x15080], 0
je 0x431a75
push 0x10
call fcn.0048596f
add esp, 4
test eax, eax
je 0x431924
mov dword [eax], edi
mov dword [eax + 8], 0x42a240
mov dword [eax + 0xc], 0
jmp 0x431926
xor eax, eax
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 7
push ecx
push 0
push eax
push 0x429c00
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0xc8], ecx
test ecx, ecx
je 0x431a97
cmp dword [edi + 0x15114], 0
mov dword [ebp - 4], 0xffffffff
je 0x431975
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0xc4]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc8], xmm0
mov dword [edi + 0x15110], ecx
mov dword [edi + 0x15114], eax
test eax, eax
je 0x431a90
push eax
push ecx
call sub.MSVCP140.dll__Thrd_detach
add esp, 8
test eax, eax
jne 0x431a90
mov dword [edi + 0x15110], eax
mov dword [edi + 0x15114], eax
mov byte [edi + 0x762], 1
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.00485bfe
mov esp, ebp
pop ebp
ret
push str.HTML_server_ports_not_specified
jmp 0x431a7a
push ecx
lea eax, [ebp - 0x40]
push eax
call fcn.00429890
mov esi, eax
push dword [edi + 0x74c]
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.00429890
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push str.Cannot_open_port_in_range__
push eax
call fcn.00415530
push 0x49c2cc
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
call fcn.004154c0
push esi
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
call fcn.004299c0
push 0x49c658
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 4
push eax
call fcn.004154c0
add esp, 0x40
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00418e10
push 0x4a7970
lea eax, [ebp - 0x20]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Server:_backup_of_statistics_requested_without_providing_filename.
lea ecx, [ebp - 0x20]
call fcn.00418e60
push 0x4a7970
lea eax, [ebp - 0x20]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 6
mov dword [ebp - 0xc4], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3