Function at 0x41c09f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2748
call fcn.0041dcd0
call fcn.0041943d
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jne 0x41c0c9
mov dword [ebp - 0x273c], 0x433a58
jmp 0x41c0d5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x273c], edx
mov eax, dword [ebp - 0x273c]
mov dword [ebp - 0xc], eax
push 0x432f6c
mov ecx, dword [ebp - 0xc]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x41c10c
push 0x432f74
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x41c400
push 0x12e
mov eax, dword [ebp + 8]
push eax
call fcn.0040ea56
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
push str.Location
mov eax, dword [ebp + 8]
push eax
call fcn.0040f01d
add esp, 0xc
push 0
push 0x433a5c
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040f099
add esp, 0xc
push str.reset
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x41c1d7
push 0x43377c
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
mov eax, dword [0x433a18]
push eax
call fcn.0041c9b4
add esp, 4
mov dword [ebp - 8], 0
jmp 0x41c18b
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
shl edx, 1
mov eax, dword [ebp - 4]
cmp dword [eax + edx*4], 0
je 0x41c1d2
mov ecx, dword [ebp - 8]
shl ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [0x433a14]
push ecx
call fcn.0041a52d
add esp, 8
push eax
mov edx, dword [ebp - 8]
shl edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [0x433a14]
push edx
call fcn.004194d1
add esp, 0xc
jmp 0x41c182
jmp 0x41c3f4
push str.save
mov eax, dword [ebp - 0xc]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x41c3f4
push 0x432f98
push 0x43377c
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41c3f4
mov ecx, dword [str._Mongoose_web_server_configuration_file._n_For_detailed_description_of_every_option__visit_n_https:__github.com_cesanta_mongoose_n_Lines_starting_with__and_empty_lines_are_ignored._n_To_make_a_change__remove_leading___modify_options_value__n_save_this_file_and_then_restart_Mongoose._n_n]
push ecx
push 0x432f9c
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
call fcn.0041943d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
jmp 0x41c243
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 1
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx*4], 0
je 0x41c3e7
mov eax, dword [ebp - 0x14]
shl eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x2730], edx
mov eax, dword [ebp - 0x14]
shl eax, 1
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax*4 + 4], 0
jne 0x41c281
mov dword [ebp - 0x2740], 0x433a60
jmp 0x41c293
mov edx, dword [ebp - 0x14]
shl edx, 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4 + 4]
mov dword [ebp - 0x2740], ecx
mov edx, dword [ebp - 0x2740]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x2730]
push eax
mov ecx, dword [0x433a14]
push ecx
call fcn.0041a52d
add esp, 8
mov dword [ebp - 0x2734], eax
push 0x270f
lea edx, [ebp - 0x272c]
push edx
mov eax, dword [ebp - 0x2730]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041905c
add esp, 0x10
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x272c]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
je 0x41c366
movsx ecx, byte [ebp - 0x272c]
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x272c]
and ecx, edx
push ecx
mov eax, dword [ebp - 0x2730]
push eax
mov ecx, dword [0x433a14]
push ecx
call fcn.004194d1
add esp, 0xc
mov dword [ebp - 0x2738], eax
cmp dword [ebp - 0x2738], 0
je 0x41c366
mov edx, dword [ebp - 0x2738]
push edx
lea eax, [ebp - 0x272c]
push eax
mov ecx, dword [ebp - 0x2730]
push ecx
push str.Error_setting__s_to___s_:__s
call fcn.0041c453
add esp, 0x10
mov edx, dword [ebp - 0x2734]
push edx
mov eax, dword [ebp - 0x2730]
push eax
mov ecx, dword [0x433a14]
push ecx
call fcn.004194d1
add esp, 0xc
movsx edx, byte [ebp - 0x272c]
test edx, edx
je 0x41c37f
lea eax, [ebp - 0x272c]
mov dword [ebp - 0x2744], eax
jmp 0x41c389
mov dword [ebp - 0x2744], str._value_
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x272c]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x41c3ac
mov dword [ebp - 0x2748], 0x432fc8
jmp 0x41c3b6
mov dword [ebp - 0x2748], 0x433a64
mov eax, dword [ebp - 0x2744]
push eax
mov ecx, dword [ebp - 0x14]
shl ecx, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0x2748]
push ecx
push str._s_s__s_n
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x14
jmp 0x41c23a
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [0x433a24], 1
jmp 0x41c44f
push str.text_html
push str.Content_Type
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040f01d
add esp, 0xc
mov edx, dword [str.max_age0__post_check0__pre_check0__no_store__no_cache__must_revalidate]
push edx
push str.Cache_Control
mov eax, dword [ebp + 8]
push eax
call fcn.0040f01d
add esp, 0xc
push 0x432ea8
push 0
push 0x433004
call fcn.0041d930
add esp, 8
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040e8ba
add esp, 0xc
mov esp, ebp
pop ebp
ret