Function at 0x418050
Capabilities:
Check http status code

Disassembly:
mov al, byte [0x480ff7]
test al, al
je 0x41810d
push str.DISINFECTION
push 0x72
push 0
call fcn.0040b2a0
push str.HEATING_UP_CHAMBER_TO_______C
push 0x61
push 0
call fcn.0040c300
push 4
push 1
push 0x61
push 0x84
push dword [0x480d68]
call fcn.0040e160
push str.CHAMBER_TEMP
push 0x4a
push 0
call fcn.0040b2a0
push str.ELEMENT_TEMP
push 0x34
push 0
call fcn.0040b2a0
add esp, 0x44
push 0x46f954
push 0x4a
push 0x1b
call fcn.0040b2a0
push 0x46f954
push 0x34
push 0x1b
call fcn.0040b2a0
push str.HEATING_UP_TIME_SO_FAR:
push 0x24
push 0
call fcn.0040c300
push str.CAUTION:_DO_NOT_OPEN_THE_OUTER_DOOR.
push 0x14
push 0
call fcn.0040c300
push str.GLASS_DOOR_AND_HANDLE_MAY_BE_HOT.
push 0xc
push 0
call fcn.0040c300
push str.___CANCEL_
call fcn.0040c4d0
mov al, byte [0x480ff7]
add esp, 0x40
mov byte [0x481424], 3
cmp byte [0x48100a], 0
jne 0x41811a
test al, al
je 0x418149
push 0x1044
push 1
push 0x4a
push 0x13
push dword [0x4812c0]
call fcn.0040e160
push 0x1044
push 1
push 0x34
push 0x13
push dword [0x4812bc]
call fcn.0040e160
add esp, 0x28
mov cl, byte [0x481009]
test cl, cl
je 0x418185
movzx eax, byte [0x481424]
sub eax, 4
je 0x418169
sub eax, 2
je 0x418169
sub eax, 2
jne 0x418185
push 0x24
push 0xa8
mov byte [0x4813ab], 1
call fcn.0040bae0
mov cl, byte [0x481009]
add esp, 8
movzx eax, byte [0x481424]
add eax, 0xfffffffd
cmp eax, 6
ja case.default.0x418198
jmp dword [eax*4 + 0x418538]
push 0x77
mov byte [0x4813d6], 1
mov byte [0x4813d1], 1
mov byte [0x4814ae], 1
mov dword [0x480ebc], 1
call fcn.00407680
push 1
push 0
push 0
push 0
call fcn.0041f660
inc byte [0x481424]
push 0x28
mov dword [0x48154c], 0
mov dword [0x4812f4], 0
call fcn.0040fac0
add esp, 0x18
jmp case.default.0x418198
mov eax, dword [0x480d68]
mov edx, dword [0x4812c0]
add eax, 0xfffffff1
cmp edx, eax
jl 0x418239
cmp byte [0x4813d2], 0
je 0x418239
test cl, cl
je 0x418276
mov al, byte [0x481426]
inc al
mov byte [0x4813ab], 0xa
mov byte [0x481426], al
cmp al, 4
jb 0x418276
inc byte [0x481424]
jmp 0x418276
cmp dword [0x48154c], 0
mov byte [0x481426], 0
jne 0x418276
mov eax, edx
sub eax, dword [0x4812f4]
cmp eax, 0xffffff38
jge 0x418266
or byte [0x481427], 2
mov byte [0x4813ab], 6
mov dword [0x4812f4], edx
mov dword [0x48154c], 0x1770
cmp dword [0x481534], 0
jne 0x418286
mov byte [0x4813d2], 1
cmp dword [0x4812e8], 0x1770
jl case.default.0x418198
mov byte [0x4814ae], 1
jmp case.default.0x418198
push str.MAINTAINING_CHAMBER_AT_______C
push 0x61
push 0
call fcn.0040c300
push 4
push 1
push 0x61
push 0x8a
push dword [0x480d68]
call fcn.0040e160
push str.DISINFECTION_TIME_LEFT:
push 0x24
push 0
call fcn.0040c300
push 0
push 1
push 0
push 4
call fcn.0041f660
add esp, 0x3c
mov byte [0x4814ae], 1
jmp 0x4184f5
cmp byte [0x48147b], 0
je 0x4182ff
inc byte [0x481424]
test cl, cl
je case.default.0x418198
mov eax, dword [0x480d68]
add eax, 0xffffff38
cmp dword [0x4812c0], eax
jge case.default.0x418198
or byte [0x481427], 4
mov byte [0x4813ab], 6
jmp case.default.0x418198
push str.COOLING_DOWN_TO_SETPOINT.
push 0x61
push 0
mov byte [0x4813d2], 0
call fcn.0040c300
push str.COOLDOWN_TIME_ELAPSED:
push 0x24
push 0
call fcn.0040c300
push 1
push 0
push 0
push 0
call fcn.0041f660
mov eax, dword [0x4812c0]
add esp, 0x28
mov dword [0x4812f4], eax
mov dword [0x48154c], 0
jmp 0x4184f5
mov ecx, dword [0x4812c0]
mov edx, dword [0x480d44]
cmp ecx, edx
jg 0x4183de
call fcn.0040f010
mov edx, dword [0x480d44]
add eax, edx
cmp dword [0x4812bc], eax
jg 0x4183d8
cmp dword [0x481534], 0
jne 0x4183d8
cmp byte [0x481009], 0
je 0x4183d0
mov al, byte [0x481426]
inc al
mov byte [0x4813ab], 0xa
mov byte [0x481426], al
cmp al, 4
jb 0x4183d0
inc byte [0x481424]
mov ecx, dword [0x4812c0]
jmp 0x41841b
mov ecx, dword [0x4812c0]
cmp dword [0x48154c], 0
mov byte [0x481426], 0
jne 0x41841b
mov eax, ecx
sub eax, dword [0x4812f4]
cmp eax, 0xc8
jle 0x41840b
or byte [0x481427], 8
mov byte [0x4813ab], 6
mov dword [0x4812f4], ecx
mov dword [0x48154c], 0x1770
lea eax, [edx + 0xc8]
cmp ecx, eax
jg case.default.0x418198
mov byte [0x4813d1], 0
jmp case.default.0x418198
call fcn.004029d0
push 0x77
mov byte [0x4813a0], 1
mov byte [0x4813d6], 0
mov byte [0x4813d1], 0
mov byte [0x48144e], 1
mov dword [0x480ebc], 0
call fcn.00407680
push 0x28
call fcn.0040fac0
mov al, byte [0x481427]
add esp, 8
test al, al
jne 0x4184a1
push str.DISINFECTION_COMPLETED_OK.
push 0x61
push 0
call fcn.0040c300
push 0x24
call fcn.0040ee90
push eax
push 0x24
push 0
call fcn.0040c300
mov al, byte [0x481427]
add esp, 0x1c
test al, 1
je 0x4184bb
push str.DISINFECTION_WAS_ABORTED.
push 0x61
push 0
call fcn.0040c300
mov al, byte [0x481427]
add esp, 0xc
test al, 0xe
je 0x4184e8
push str.DISINFECTION_FAILED________CODE:________
push 0x61
push 0
call fcn.0040c300
movzx eax, byte [0x481427]
push 0xf
push 1
push 0x61
push 0xd8
push eax
call fcn.0040e160
add esp, 0x20
push str.___EXIT_
call fcn.0040c4d0
add esp, 4
inc byte [0x481424]
cmp byte [0x4813ff], 4
jne case.0x418513.9
movzx eax, byte [0x481424]
add eax, 0xfffffffd
cmp eax, 7
ja case.0x418513.9
jmp dword [eax*4 + 0x418554]
jmp fcn.0041f6b0
or byte [0x481427], 1
mov byte [0x481424], 7
ret
mov byte [0x4813ab], 6
ret