Function at 0x42ce81
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov word [ebp - 8], 0
mov word [ebp - 0x18], 1
mov dword [ebp - 0x10], 0
mov word [ebp - 4], 0
mov dword [ebp - 0x14], 0x4d5008
mov word [ebp - 4], 0
call fcn.00472d61
test eax, eax
jne 0x42ceca
movsx eax, word [0x526a3e]
test eax, eax
jne 0x42ceca
mov word [ebp - 4], 0x64
mov byte [0x5265f6], 0
call fcn.00433c61
movsx ecx, al
test ecx, ecx
jne 0x42cee2
jmp 0x42db87
mov dx, word [0x5265ea]
push edx
call fcn.00432b45
add esp, 4
movzx ax, al
mov word [0x575f10], ax
xor ecx, ecx
mov cx, word [0x575f10]
mov dword [ebp - 0x430], ecx
cmp dword [ebp - 0x430], 1
je 0x42cf1f
cmp dword [ebp - 0x430], 4
je 0x42cf21
jmp 0x42cf33
jmp 0x42cf45
push str.Unknown_Command__
call fcn.0042f28b
add esp, 4
jmp 0x42db87
push str.Unknown_Response__
call fcn.0042f28b
add esp, 4
jmp 0x42db87
call fcn.00433c61
movsx edx, al
test edx, edx
jne 0x42cf56
jmp 0x42db87
mov ax, word [0x5265ea]
push eax
call fcn.00432b45
add esp, 4
xor cx, cx
mov cl, al
mov word [0x575f10], cx
xor edx, edx
mov dx, word [0x575f10]
mov dword [ebp - 0x434], edx
cmp dword [ebp - 0x434], 5
je 0x42cf8b
jmp 0x42cf96
mov word [ebp - 0x424], 5
jmp 0x42cfa8
push str.Unknown_Response__
call fcn.0042f28b
add esp, 4
jmp 0x42db87
mov word [ebp - 8], 0
movsx eax, word [0x4d21c8]
cmp eax, 0x53
jne 0x42d025
push 0x4d0834
push 0x569881
call fcn.004bd3cf
add esp, 8
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x42d00c
push str.Cannot_open_file__
call fcn.0042f28b
add esp, 4
push 0x569881
call fcn.0042f28b
add esp, 4
push 3
mov cx, word [0x5265ea]
push ecx
call fcn.00432c52
add esp, 8
jmp 0x42db87
mov edx, dword [ebp - 0x42c]
push edx
call fcn.004bd2bc
add esp, 4
push 2
call fcn.0045ac0e
add esp, 4
movsx eax, word [ebp - 0x424]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x438], 5
je 0x42d04d
cmp dword [ebp - 0x438], 6
je 0x42da98
jmp 0x42db6e
call fcn.00431bbe
mov byte [ebp - 0x420], al
mov cl, byte [ebp - 0x420]
mov byte [ebp - 0x43c], cl
cmp byte [ebp - 0x43c], 0x6b
je 0x42d07f
cmp byte [ebp - 0x43c], 0x7a
je 0x42d3d1
jmp 0x42d689
xor edx, edx
mov dx, word [0x575f10]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x440]
sub eax, 1
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0x27
ja case.0x42d0b8.6
mov edx, dword [ebp - 0x440]
xor ecx, ecx
mov cl, byte [edx + 0x42dba7]
jmp dword [ecx*4 + 0x42db8b]
mov ax, word [0x575f10]
push eax
mov cx, word [0x5265ea]
push ecx
call fcn.00432c52
add esp, 8
movsx edx, byte [0x4d50d0]
cmp edx, 0x53
jne 0x42d2c7
push 2
call fcn.0045ac0e
add esp, 4
mov dword [0x526a48], 0
mov ax, word [0x5265ea]
push eax
call fcn.00432b23
add esp, 4
mov cx, word [0x576b2e]
and cx, 1
and ecx, 0xffff
cmp ecx, 1
je 0x42d188
mov dx, word [0x576b2e]
shr dx, 1
and dx, 1
and edx, 0xffff
cmp edx, 1
je 0x42d188
mov ax, word [0x576b2e]
shr ax, 2
and ax, 1
and eax, 0xffff
cmp eax, 1
je 0x42d188
mov cx, word [0x576b2e]
shr cx, 3
and cx, 1
and ecx, 0xffff
cmp ecx, 1
je 0x42d188
mov dx, word [0x576b2e]
shr dx, 4
and dx, 1
and edx, 0xffff
cmp edx, 1
jne 0x42d29e
mov ax, word [0x576b2e]
shr ax, 1
and ax, 1
and eax, 0xffff
test eax, eax
je 0x42d1ba
push str.Overrun__
call fcn.0042f28b
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov cx, word [0x576b2e]
shr cx, 2
and cx, 1
and ecx, 0xffff
test ecx, ecx
je 0x42d1ef
push str.Parity__
call fcn.0042f28b
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov dx, word [0x576b2e]
shr dx, 3
and dx, 1
and edx, 0xffff
test edx, edx
je 0x42d224
push str.Frame__
call fcn.0042f28b
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov ax, word [0x576b2e]
and ax, 1
and eax, 0xffff
test eax, eax
jne 0x42d25f
push str.Check_Serial_Connection__
call fcn.0042f28b
add esp, 4
push 9
push 0x63
call fcn.0046bfa8
add esp, 8
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov cx, word [0x5265ea]
push ecx
call fcn.00432b45
add esp, 4
xor dx, dx
mov dl, al
mov word [0x575f10], dx
xor eax, eax
mov ax, word [0x575f10]
cmp eax, 2
jne 0x42d29e
push 1
call fcn.0045ac0e
add esp, 4
mov byte [0x4d21fa], 0x40
jmp 0x42db87
mov byte [0x4d21fa], 0x53
call fcn.00430cd0
movsx ecx, al
test ecx, ecx
jne 0x42d2b3
jmp 0x42d2c0
mov edx, 1
test edx, edx
jne 0x42d0fa
mov byte [0x4d21fa], 0x40
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x52
je 0x42d2d9
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0x53
jne 0x42d331
movsx edx, byte [0x4d21c6]
cmp edx, 0x53
je 0x42d331
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x1c], 0
jmp 0x42d2fe
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x42d322
push 0x32
call fcn.0045ac9e
add esp, 4
push 3
mov cx, word [0x5265ea]
push ecx
call fcn.00432c52
add esp, 8
jmp 0x42d2f5
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42d3cc
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov edx, dword [ebp - 0x14]
cmp dword [edx + 4], 0x53
je 0x42d352
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x52
jne case.0x42d0b8.3
push 3
mov cx, word [0x5265ea]
push ecx
call fcn.00432c52
add esp, 8
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov byte [0x4d21c2], 0x46
jmp 0x42d3cc
mov byte [0x4d21c2], 0x53
jmp 0x42d3cc
movsx edx, word [ebp - 4]
test edx, edx
jle 0x42d399
mov ax, word [ebp - 4]
sub ax, 0x64
mov word [ebp - 4], ax
jmp 0x42d3cc
movsx ecx, word [ebp - 4]
cmp ecx, 0xc8
jge 0x42d3b3
mov dx, word [ebp - 4]
add dx, 0x64
mov word [ebp - 4], dx
jmp 0x42d3cc
mov ax, word [0x575f10]
push eax
mov cx, word [0x5265ea]
push ecx
call fcn.00432c52
add esp, 8
jmp 0x42d689
xor edx, edx
mov dx, word [0x575f10]
mov dword [ebp - 0x444], edx
mov eax, dword [ebp - 0x444]
sub eax, 2
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0x17
ja case.0x42d40a.9
mov edx, dword [ebp - 0x444]
xor ecx, ecx
mov cl, byte [edx + 0x42dbf7]
jmp dword [ecx*4 + 0x42dbcf]
movsx eax, word [0x4d21c8]
cmp eax, 0x53
jne 0x42d4cc
movsx ecx, word [ebp - 8]
mov byte [ebp + ecx - 0x41c], 0
push 0x4d0838
push 0x569881
call fcn.004bd3cf
add esp, 8
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x42d477
push str.Cannot_open_file__
call fcn.0042f28b
add esp, 4
push 0x569881
call fcn.0042f28b
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov edx, dword [ebp - 0x42c]
push edx
lea eax, [ebp - 0x41c]
push eax
call fcn.004bd84a
add esp, 8
cmp eax, 0xffffffff
jne 0x42d4bd
push str.Cannot_write_in_file__
call fcn.0042f28b
add esp, 4
mov ecx, dword [ebp - 0x42c]
push ecx
call fcn.004bd2bc
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov edx, dword [ebp - 0x42c]
push edx
call fcn.004bd2bc
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov word [ebp - 0x424], 5
jmp 0x42d689
mov byte [0x4d21c2], 0x46
jmp 0x42d689
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x53
je 0x42d519
mov byte [0x4d21c2], 0x53
jmp 0x42d689
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
movsx ecx, word [0x4d21c8]
cmp ecx, 0x53
je 0x42d566
movsx edx, word [ebp - 4]
test edx, edx
jle 0x42d547
movsx eax, word [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov word [0x575f10], 0xd
push 0
call fcn.0042f027
add esp, 4
push 0
call fcn.004593e9
add esp, 4
jmp 0x42d583
movsx ecx, word [ebp - 8]
mov dl, byte [0x575f10]
mov byte [ebp + ecx - 0x41c], dl
mov ax, word [ebp - 8]
add ax, 1
mov word [ebp - 8], ax
jmp 0x42d689
push 7
mov cx, word [0x5265ea]
push ecx
call fcn.00432c52
add esp, 8
jmp 0x42d689
mov word [ebp - 0x424], 6
jmp 0x42d689
movsx edx, byte [0x4d21c6]
cmp edx, 0x53
jne 0x42d5d6
mov word [0x575f10], 8
push 0
call fcn.0042f027
add esp, 4
push 0
call fcn.004593e9
add esp, 4
jmp 0x42d689
movsx eax, word [0x4d21c8]
cmp eax, 0x53
je 0x42d62b
mov ecx, dword [ebp + 8]
push ecx
push 0x575f10
push 0x575f10
call fcn.00466c15
add esp, 0xc
push 0
call fcn.0042f027
add esp, 4
movsx edx, byte [0x4d21c2]
cmp edx, 0x53
je 0x42d61f
movsx eax, byte [0x4d21c6]
cmp eax, 0x53
jne 0x42d629
push 0
call fcn.004593e9
add esp, 4
jmp 0x42d669
movsx ecx, word [0x4d21dc]
test ecx, ecx
jne 0x42d64c
mov edx, dword [ebp + 8]
push edx
push 0x575f10
push 0x575f10
call fcn.00466c15
add esp, 0xc
movsx eax, word [ebp - 8]
mov cl, byte [0x575f10]
mov byte [ebp + eax - 0x41c], cl
mov dx, word [ebp - 8]
add dx, 1
mov word [ebp - 8], dx
cmp dword [ebp - 0x10], 0
je 0x42d689
call fcn.00472d61
test eax, eax
je 0x42d689
push 3
mov ax, word [0x5265ea]
push eax
call fcn.00432c52
add esp, 8
movsx ecx, word [ebp - 8]
cmp ecx, 0x3e8
jl 0x42da93
movsx edx, word [0x4d21c8]
cmp edx, 0x53
jne 0x42da93
push 0x13
mov ax, word [0x5265ea]
push eax
call fcn.00432c52
add esp, 8
mov byte [ebp - 0x34], 0
push 0x4d083c
push 0x569881
call fcn.004bd3cf
add esp, 8
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x42d71a
push 3
mov cx, word [0x5265ea]
push ecx
call fcn.00432c52
add esp, 8
push str.Cannot_open_file__
call fcn.0042f28b
add esp, 4
push 0x569881
call fcn.0042f28b
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov edx, dword [ebp - 0x42c]
push edx
lea eax, [ebp - 0x41c]
push eax
call fcn.004bd84a
add esp, 8
cmp eax, 0xffffffff
jne 0x42d772
push 3
mov cx, word [0x5265ea]
push ecx
call fcn.00432c52
add esp, 8
push str.Cannot_write_in_file__
call fcn.0042f28b
add esp, 4
mov edx, dword [ebp - 0x42c]
push edx
call fcn.004bd2bc
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov eax, dword [ebp - 0x42c]
push eax
call fcn.004bd2bc
add esp, 4
mov word [ebp - 0x18], 0
jmp 0x42d795
mov cx, word [ebp - 0x18]
add cx, 1
mov word [ebp - 0x18], cx
movsx edx, word [ebp - 0x18]
cmp edx, 0xa
jge 0x42d862
call fcn.0045a54b
mov word [ebp - 0x428], ax
movsx eax, word [ebp - 0x428]
test eax, eax
jne 0x42d7be
jmp 0x42d862
movsx ecx, word [ebp - 0x428]
cmp ecx, 1
jne 0x42d85d
xor edx, edx
mov dx, word [0x575f10]
mov dword [ebp - 0x448], edx
mov eax, dword [ebp - 0x448]
sub eax, 1
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0x12
ja case.0x42d803.4
mov edx, dword [ebp - 0x448]
xor ecx, ecx
mov cl, byte [edx + 0x42dc23]
jmp dword [ecx*4 + 0x42dc0f]
mov ax, word [0x575f10]
push eax
mov cx, word [0x5265ea]
push ecx
call fcn.00432c52
add esp, 8
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov byte [0x4d21c2], 0x46
jmp 0x42d85b
mov byte [0x4d21c2], 0x53
jmp 0x42d85b
jmp 0x42d85b
mov dx, word [0x575f10]
push edx
mov ax, word [0x5265ea]
push eax
call fcn.00432c52
add esp, 8
jmp 0x42d862
jmp 0x42d789
mov word [ebp - 8], 0
mov cx, word [0x5265ea]
push ecx
call fcn.00432b23
add esp, 4
mov dx, word [0x576b2e]
and dx, 1
and edx, 0xffff
cmp edx, 1
jne 0x42da72
mov ax, word [0x5265ea]
push eax
call fcn.00432b45
add esp, 4
xor cx, cx
mov cl, al
mov word [0x575f10], cx
xor edx, edx
mov dx, word [0x575f10]
cmp edx, 2
jne 0x42d979
movsx eax, word [ebp - 8]
mov byte [ebp + eax - 0x41c], 0
push 0x4d0840
push 0x569881
call fcn.004bd3cf
add esp, 8
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x42d915
push str.Cannot_open_file__
call fcn.0042f28b
add esp, 4
push 0x569881
call fcn.0042f28b
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov ecx, dword [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x41c]
push edx
call fcn.004bd84a
add esp, 8
cmp eax, 0xffffffff
jne 0x42d95b
push str.Cannot_write_in_file__
call fcn.0042f28b
add esp, 4
mov eax, dword [ebp - 0x42c]
push eax
call fcn.004bd2bc
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov ecx, dword [ebp - 0x42c]
push ecx
call fcn.004bd2bc
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
movsx edx, word [ebp - 8]
mov al, byte [0x575f10]
mov byte [ebp + edx - 0x41c], al
mov cx, word [ebp - 8]
add cx, 1
mov word [ebp - 8], cx
movsx edx, word [ebp - 8]
cmp edx, 0x3e8
jl 0x42da70
mov byte [ebp - 0x34], 0
push 0x4d0844
push 0x569881
call fcn.004bd3cf
add esp, 8
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
jne 0x42da04
push 3
mov ax, word [0x5265ea]
push eax
call fcn.00432c52
add esp, 8
push str.Cannot_open_file__
call fcn.0042f28b
add esp, 4
push 0x569881
call fcn.0042f28b
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov ecx, dword [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x41c]
push edx
call fcn.004bd84a
add esp, 8
cmp eax, 0xffffffff
jne 0x42da5b
push 3
mov ax, word [0x5265ea]
push eax
call fcn.00432c52
add esp, 8
push str.Cannot_write_in_file__
call fcn.0042f28b
add esp, 4
mov ecx, dword [ebp - 0x42c]
push ecx
call fcn.004bd2bc
add esp, 4
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov word [ebp - 8], 0
mov edx, dword [ebp - 0x42c]
push edx
call fcn.004bd2bc
add esp, 4
jmp 0x42da74
jmp 0x42da81
mov eax, 1
test eax, eax
jne 0x42d868
push 0x13
mov cx, word [0x5265ea]
push ecx
call fcn.00432c52
add esp, 8
jmp 0x42db7a
call fcn.0042deb4
mov word [ebp - 0xc], ax
movsx edx, word [ebp - 0xc]
test edx, edx
je 0x42dab6
movsx eax, word [ebp - 0xc]
cmp eax, 3
jne 0x42db63
push 1
call fcn.0045ac0e
add esp, 4
movsx ecx, word [ebp - 0xc]
test ecx, ecx
jne 0x42dae9
push str.Background_Module_aborted__
call fcn.0042f28b
add esp, 4
push 0
push str.Communication_Error___nPerhaps_you_inserted_data_nwithout_waiting_for_requests__
call fcn.0045aa31
add esp, 8
jmp 0x42db87
mov edx, dword [ebp - 0x14]
cmp dword [edx + 4], 0x52
je 0x42dafb
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x53
jne 0x42db61
movsx ecx, byte [0x4d21c6]
cmp ecx, 0x53
je 0x42db61
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x1c], 0
jmp 0x42db20
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 2
jge 0x42db43
push 0x32
call fcn.0045ac9e
add esp, 4
push 3
mov ax, word [0x5265ea]
push eax
call fcn.00432c52
add esp, 8
jmp 0x42db17
push 0x32
call fcn.0045ac9e
add esp, 4
push 0xd
mov cx, word [0x5265ea]
push ecx
call fcn.00432c52
add esp, 8
jmp 0x42db63
jmp 0x42db87
mov word [ebp - 0x424], 5
jmp 0x42db7a
push 1
call fcn.0045ac0e
add esp, 4
jmp 0x42db87
mov edx, 1
test edx, edx
jne 0x42d025
mov esp, ebp
pop ebp
ret