Function at 0x434e40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476271
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4b3570]
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 + 0x14c40]
call fcn.00440b40
cmp dword [edi + 0x146e0], 0
mov ecx, edi
je 0x434eb0
call fcn.00429be0
test al, al
jne 0x434eb5
push 0x4142c0
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.004134d0
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.00429930
mov eax, dword [edi + 0x14c64]
lea esi, [edi + 0x14c60]
lea ecx, [edi + 0x14a48]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x434eda
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x434ee9
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.004241d0
mov dword [edi + 0x14a58], edi
lea ecx, [edi + 0xcbb0]
mov eax, dword [esi + 4]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x434f0b
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x434f1a
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.004241d0
mov eax, dword [esi + 4]
lea ecx, [edi + 0xaaf8]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x434f36
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x434f45
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.004241d0
mov eax, dword [esi + 4]
lea ecx, [edi + 0x7a8]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x434f61
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x434f70
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.004241d0
mov eax, dword [esi + 4]
lea ecx, [edi + 0x5950]
mov dword [ebp - 0xbc], ecx
cmp eax, dword [esi + 8]
je 0x434f8c
mov dword [eax], ecx
add dword [esi + 4], 4
jmp 0x434f9b
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov ecx, esi
call fcn.004241d0
mov eax, dword [edi + 0x714]
test eax, eax
je 0x4351bb
mov ecx, dword [edi + 0x718]
test ecx, ecx
je 0x4351bb
mov dword [edi + 0x710], eax
cmp eax, ecx
jg 0x434fe2
push eax
mov ecx, edi
call fcn.00461af0
test al, al
jne 0x434fe2
mov eax, dword [edi + 0x710]
inc eax
mov dword [edi + 0x710], eax
cmp eax, dword [edi + 0x718]
jle 0x434fc1
mov eax, dword [edi + 0x710]
mov ecx, dword [edi + 0x718]
cmp eax, ecx
jg 0x4351c5
test eax, eax
jns 0x435010
neg eax
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.00414240
add esp, 8
mov byte [eax - 1], 0x2d
dec eax
jmp 0x43501d
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.00414240
add esp, 8
lea ecx, [ebp - 0xbd]
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004133e0
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.004134d0
add esp, 8
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
push 0x4142c0
push dword [ebp - 0x30]
push ecx
push eax
call fcn.00413dc0
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, 0x10
jb 0x4350ad
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4350a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4350a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00471dc9
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 + 0x14620], eax
cmp dword [edi + 0x720], 0
mov dword [edi + 0x14624], edx
mov byte [edi + 0x71c], 1
jle 0x4351a0
cmp dword [edi + 0x146e0], 0
je 0x435256
push 0x10
call fcn.00471d99
add esp, 4
test eax, eax
je 0x435105
mov dword [eax], edi
mov dword [eax + 8], 0x429500
mov dword [eax + 0xc], 0
jmp 0x435107
xor eax, eax
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 7
push ecx
push 0
push eax
push 0x424ce0
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 0x43527e
cmp dword [edi + 0x14774], 0
mov dword [ebp - 4], 0xffffffff
je 0x435156
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 + 0x14770], ecx
mov dword [edi + 0x14774], eax
test eax, eax
je 0x435271
push eax
push ecx
call sub.MSVCP140.dll__Thrd_detach
add esp, 8
test eax, eax
jne 0x435278
mov dword [edi + 0x14770], eax
mov dword [edi + 0x14774], eax
mov byte [edi + 0x728], 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.0047202b
mov esp, ebp
pop ebp
ret
push str.HTML_server_ports_not_specified
jmp 0x43525b
push ecx
lea eax, [ebp - 0x40]
push eax
call fcn.00438420
mov esi, eax
push dword [edi + 0x714]
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
call fcn.00438420
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push str.Cannot_open_port_in_range__
push eax
call fcn.00413820
push 0x485d88
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
call fcn.004137b0
push esi
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
call fcn.00423d20
push 0x4861ec
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 4
push eax
call fcn.004137b0
add esp, 0x40
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00416490
push 0x48fc64
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.004164e0
push 0x48fc64
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 eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
push 6
mov dword [ebp - 0xc4], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3